mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
Merge pull request #118 from BerkieBb/master
Added missing cb field to MenuProps
This commit is contained in:
@@ -23,6 +23,7 @@ interface MenuProps {
|
||||
onClose?: (keyPressed?: 'Escape' | 'Backspace') => void;
|
||||
onSelected?: ChangeFunction;
|
||||
onSideScroll?: ChangeFunction;
|
||||
cb?: ChangeFunction;
|
||||
}
|
||||
|
||||
type registerMenu = (data: MenuProps, cb: ChangeFunction) => void;
|
||||
|
||||
@@ -26,6 +26,7 @@ local keepInput = IsNuiFocusKeepingInput()
|
||||
---@field onClose? fun(keyPressed?: 'Escape' | 'Backspace')
|
||||
---@field onSelected? MenuChangeFunction
|
||||
---@field onSideScroll? MenuChangeFunction
|
||||
---@field cb? MenuChangeFunction
|
||||
|
||||
---@param data MenuProps
|
||||
---@param cb? MenuChangeFunction
|
||||
|
||||
Reference in New Issue
Block a user