Type alias ConfirmationModalWithOutcomeProps
Confirmation
Modal
With
Outcome
Props
: { cancelButtonContent
?: string; cancelButtonTitle
?: string; confirmationBody
?: React.ReactElement; confirmationButtonContent
?: string; confirmationButtonDisabled
?: boolean; confirmationButtonTitle
?: string; confirmationTitle
?: string; dismissOutcomeButtonContent
?: string; dismissOutcomeButtonTitle
?: string; modalState
: ModalState; onClose
: (() => void); onConfirm
: (() => void); onDismissOutcome
?: (() => void); outcomeBody
?: React.ReactElement; outcomeTitle
?: string; }
Type declaration
-
Optional
cancelButtonContent?: string
-
Optional
cancelButtonTitle?: string
-
Optional
confirmationBody?: React.ReactElement
-
Optional
confirmationButtonContent?: string
-
Optional
confirmationButtonDisabled?: boolean
-
Optional
confirmationButtonTitle?: string
-
Optional
confirmationTitle?: string
-
Optional
dismissOutcomeButtonContent?: string
-
Optional
dismissOutcomeButtonTitle?: string
-
-
onClose: (() => void)
-
onConfirm: (() => void)
-
Optional
onDismissOutcome?: (() => void)
-
Optional
outcomeBody?: React.ReactElement
-
Optional
outcomeTitle?: string