mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 15:36:02 +01:00
tweak(package/resource/interface/menu): add cb field
This commit is contained in:
@@ -23,6 +23,7 @@ interface MenuProps {
|
|||||||
onClose?: (keyPressed?: 'Escape' | 'Backspace') => void;
|
onClose?: (keyPressed?: 'Escape' | 'Backspace') => void;
|
||||||
onSelected?: ChangeFunction;
|
onSelected?: ChangeFunction;
|
||||||
onSideScroll?: ChangeFunction;
|
onSideScroll?: ChangeFunction;
|
||||||
|
cb?: ChangeFunction;
|
||||||
}
|
}
|
||||||
|
|
||||||
type registerMenu = (data: MenuProps, cb: ChangeFunction) => void;
|
type registerMenu = (data: MenuProps, cb: ChangeFunction) => void;
|
||||||
|
|||||||
Reference in New Issue
Block a user