mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
feat(package/interface/menu): onClose keyPressed
This commit is contained in:
@@ -18,7 +18,8 @@ interface MenuProps {
|
||||
options: MenuOptions[];
|
||||
position?: MenuPosition;
|
||||
disableInput?: boolean;
|
||||
onClose?: () => void;
|
||||
canClose?: boolean;
|
||||
onClose?: (keyPressed?: 'Escape' | 'Backspace') => void;
|
||||
onSelected?: ChangeFunction;
|
||||
onSideScroll?: ChangeFunction;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user