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