infinity-forge
Version:
18 lines (17 loc) • 437 B
TypeScript
import { CSSProperties, ReactNode } from 'react';
export interface ModalProps {
open: boolean;
title?: string;
message?: string;
actions?: ReactNode;
children: ReactNode;
onClose: () => void;
confirmText?: any;
onConfirm?: () => void;
cancelText?: any;
onCancel?: () => void;
styles?: CSSProperties;
dontClose?: boolean;
hideCloseButton?: boolean;
stylesContent?: CSSProperties;
}