infinity-forge
Version:
12 lines (11 loc) • 328 B
TypeScript
import { ModalProps } from '../modal/interfaces.js';
export interface IWarningProps extends Partial<ModalProps> {
Icon?: () => React.ReactNode;
onCancel?: () => void;
onConfirm?: () => void;
button?: {
Element?: () => React.ReactNode;
};
warningTitle?: string;
warningDescription?: string;
}