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.
30 lines
1.0 KiB
30 lines
1.0 KiB
type DivFormEventHandler = import('react').FormEventHandler<HTMLDivElement>; |
|
type DivFormEventHandlerParameters = Parameters<DivFormEventHandler>; |
|
|
|
type ConfirmDialogOptionalProps = { |
|
actionCancelText?: string; |
|
closeOnProceed?: boolean; |
|
content?: import('react').ReactNode; |
|
contentContainerProps?: import('../components/FlexBox').FlexBoxProps; |
|
disableProceed?: boolean; |
|
loadingAction?: boolean; |
|
onActionAppend?: ContainedButtonProps['onClick']; |
|
onCancelAppend?: ContainedButtonProps['onClick']; |
|
onProceedAppend?: ContainedButtonProps['onClick']; |
|
onSubmitAppend?: DivFormEventHandler; |
|
preActionArea?: import('react').ReactNode; |
|
proceedButtonProps?: ContainedButtonProps; |
|
proceedColour?: 'blue' | 'red'; |
|
scrollContent?: boolean; |
|
scrollBoxProps?: import('@mui/material').BoxProps; |
|
}; |
|
|
|
type ConfirmDialogProps = Omit<DialogWithHeaderProps, 'header'> & |
|
ConfirmDialogOptionalProps & { |
|
actionProceedText: string; |
|
titleText: import('react').ReactNode; |
|
}; |
|
|
|
type ConfirmDialogForwardedRefContent = { |
|
setOpen?: (value: boolean) => void; |
|
};
|
|
|