@lunit/oui
Version:
Lunit Oncology UI components
20 lines (19 loc) • 540 B
TypeScript
/// <reference types="react" />
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;
}