UNPKG

@makeen.io/material-ui-kit

Version:
15 lines (14 loc) 484 B
import React from "react"; import { DialogProps } from "@material-ui/core"; import { ButtonPalette } from "atoms"; export declare type ConfirmationDialogProps = DialogProps & { cancelText: string; children: React.ReactNode; confirmColor?: ButtonPalette; confirmText?: string; onCancel: () => void; onConfirm?: () => void; title: string | undefined; }; declare const ConfirmationDialog: React.FC<ConfirmationDialogProps>; export default ConfirmationDialog;