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.
32 lines
1.1 KiB
32 lines
1.1 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; |
|
showActionArea?: boolean; |
|
}; |
|
|
|
type ConfirmDialogProps = Omit<DialogWithHeaderProps, 'header'> & |
|
Pick<DialogActionGroupProps, 'showCancel'> & |
|
ConfirmDialogOptionalProps & { |
|
actionProceedText: string; |
|
titleText: import('react').ReactNode; |
|
}; |
|
|
|
type ConfirmDialogForwardedRefContent = { |
|
setOpen?: (value: boolean) => void; |
|
};
|
|
|