feat(client/interface): close functions for input and alert dialogs

This commit is contained in:
Luke
2022-09-29 11:39:30 +02:00
parent e624aa2559
commit 6a8eb35a0a
6 changed files with 33 additions and 0 deletions

View File

@@ -20,3 +20,5 @@ type inputDialog = (
rows: string[] | InputDialogRowProps[]
) => Promise<Array<string | number | boolean> | undefined>;
export const inputDialog: inputDialog = async (heading, rows) => await exports.ox_lib.inputDialog(heading, rows);
export const closeInputDialog = () => exports.ox_lib.inputDialog();