mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-12 08:53:55 +00:00
tweak(package/resource/interface/menu): add cb field
This commit is contained in:
1 parent
738296adfb
commit
242b4b6c79
1 file changed
+1
@@ -23,6 +23,7 @@ interface MenuProps {
|
||||
onClose?: (keyPressed?: 'Escape' | 'Backspace') => void;
|
||||
onSelected?: ChangeFunction;
|
||||
onSideScroll?: ChangeFunction;
|
||||
cb?: ChangeFunction;
|
||||
}
|
||||
|
||||
type registerMenu = (data: MenuProps, cb: ChangeFunction) => void;
|
||||
|
||||
Reference in new issue
Block a user