fix(modal): allow children

This commit is contained in:
AAGaming
2022-10-01 22:30:33 -04:00
parent c910dbde79
commit 40871af853

View File

@@ -37,6 +37,7 @@ export const showModal: (modal: ReactNode, parent?: EventTarget, props?: ShowMod
});
export interface ModalRootProps {
children: ReactNode;
onCancel?(): void;
closeModal?(): void;
onOK?(): void;