mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 07:26:02 +01:00
feat(client/interface): close functions for input and alert dialogs
This commit is contained in:
@@ -40,6 +40,10 @@ const AlertDialog: React.FC = () => {
|
||||
onOpen();
|
||||
});
|
||||
|
||||
useNuiEvent('closeAlertDialog', () => {
|
||||
onClose();
|
||||
});
|
||||
|
||||
return (
|
||||
<>
|
||||
<Dialog
|
||||
|
||||
Reference in New Issue
Block a user