react-simple-game-engine
Version:
[WIP] not able to use in currently. <!-- Document cumming soon... -->
16 lines • 520 B
TypeScript
import { ReactElement, CSSProperties } from "react";
declare type ModalProps = {
children?: ReactElement;
content: ReactElement;
backgroundStyle?: CSSProperties;
defaultOpen?: boolean;
event?: string;
onClose?: () => void;
};
export declare type RefModalFunctions = {
open: () => void;
close: () => void;
};
export declare const Modal: import("react").ForwardRefExoticComponent<ModalProps & import("react").RefAttributes<RefModalFunctions>>;
export {};
//# sourceMappingURL=modal.d.ts.map