mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
feat(interface/context): context menu onBack function (#122)
* feat(interface/context): back button pressed * fix(context): types
This commit is contained in:
@@ -23,6 +23,7 @@ interface ContextMenuProps {
|
||||
title: string;
|
||||
menu?: string;
|
||||
onExit?: () => void;
|
||||
onBack?: () => void;
|
||||
canClose?: boolean;
|
||||
options: { [key: string]: ContextMenuItem } | ContextMenuArrayItem[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user