UNPKG

@lunit/oui

Version:

Lunit Oncology UI components

19 lines (18 loc) 508 B
import type { SxProps } from '@mui/system'; export interface DialogProps { open: boolean; title?: string; icon?: React.ReactNode; closable?: boolean; isPrompt?: boolean; cancelText?: string; submitText?: string; onClose?: (event: object | null, reason: string) => void; text?: string; children?: React.ReactNode; dialogAction?: React.ReactNode; buttonSize?: 'small' | 'medium' | 'large'; loading?: boolean; disableSubmit?: boolean; sx?: SxProps; }