mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-22 19:08:36 +00:00
feat(client/interface): close functions for input and alert dialogs
This commit is contained in:
1 parent
e624aa2559
commit
6a8eb35a0a
6 files changed
+33
No files matched your search
@@ -40,6 +40,10 @@ const AlertDialog: React.FC = () => {
|
||||
onOpen();
|
||||
});
|
||||
|
||||
useNuiEvent('closeAlertDialog', () => {
|
||||
onClose();
|
||||
});
|
||||
|
||||
return (
|
||||
<>
|
||||
<Dialog
|
||||
|
||||
Reference in new issue
Block a user