@ssplib/react-components
Version:
SSP React Components
8 lines (7 loc) • 326 B
TypeScript
export declare let MODAL: {
open: (customCompoment?: JSX.Element | JSX.Element[] | (() => JSX.Element)) => void;
reparent: (child: JSX.Element, id: string | number) => JSX.Element;
openReparented: (id: string | number) => void;
close: () => void;
};
export declare function CustomModalProvider(): JSX.Element;