Local modifications to ClusterLabs/Anvil by Alteeve
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
558 B

type ConfirmDialogOptionalProps = {
actionCancelText?: string;
dialogProps?: import('@mui/material').DialogProps;
onCancelAppend?: ContainedButtonProps['onClick'];
openInitially?: boolean;
proceedButtonProps?: ContainedButtonProps;
};
type ConfirmDialogProps = ConfirmDialogOptionalProps & {
actionProceedText: string;
content: import('@mui/material').ReactNode;
onProceedAppend: Exclude<ContainedButtonProps['onClick'], undefined>;
titleText: string;
};
type ConfirmDialogForwardedRefContent = {
setOpen?: (value: boolean) => void;
};