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.
22 lines
689 B
22 lines
689 B
type ConfirmDialogOptionalProps = { |
|
actionCancelText?: string; |
|
closeOnProceed?: boolean; |
|
dialogProps?: Partial<import('@mui/material').DialogProps>; |
|
loadingAction?: boolean; |
|
onActionAppend?: ContainedButtonProps['onClick']; |
|
onProceedAppend?: ContainedButtonProps['onClick']; |
|
onCancelAppend?: ContainedButtonProps['onClick']; |
|
openInitially?: boolean; |
|
proceedButtonProps?: ContainedButtonProps; |
|
proceedColour?: 'blue' | 'red'; |
|
}; |
|
|
|
type ConfirmDialogProps = ConfirmDialogOptionalProps & { |
|
actionProceedText: string; |
|
content: import('@mui/material').ReactNode; |
|
titleText: string; |
|
}; |
|
|
|
type ConfirmDialogForwardedRefContent = { |
|
setOpen?: (value: boolean) => void; |
|
};
|
|
|