mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-07 23:25:07 +00:00
feat(package/interface/menu): onClose keyPressed
This commit is contained in:
1 parent
6579d52c7c
commit
c47741a785
1 file changed
+2
-1
@@ -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