UNPKG

oneframe-react

Version:

Oneframe React ## Components, Hooks, Helper Functions & State Management

25 lines (24 loc) 756 B
import { ReactNode } from 'react'; export interface IModalProps { show: boolean; children: any; onClose?: () => void; onBackdropClick?: () => void; onEnter?: () => void; onEntered?: () => void; onEntering?: () => void; onExit?: () => void; onExited?: () => void; onExiting?: () => void; onEscapeKeyDown?: () => void; title?: ReactNode | string | undefined; scroll?: 'body' | 'paper' | undefined; footer?: ReactNode | string | undefined; keepMounted?: any; disableBackdropClick?: boolean | undefined; disableEscapeKeyDown?: boolean | undefined; fullWidth?: boolean; fullScreen?: boolean; maxWidth?: false | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | undefined; formSubmit?: any; }