Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ConfirmationModalProps

Hierarchy

Index

Properties

Optional DialogContentProps

DialogContentProps: DialogContentProps

Any other props passed to the DialogContent

Optional DialogProps

DialogProps: DialogProps

Any othe props passed to the Dialog

Optional DialogTitleProps

DialogTitleProps: DialogTitleProps

Any other props passed to the DialogTitle

cancelButtonText

cancelButtonText: string

Text to show in the cancel button

dialogContent

dialogContent: Element

The content to show in the modal

modalType

modalType: "warning" | "check"

Whether the icon for this modal should be a Warning triangle or a Check Circle

Optional modalqas

Object of data-qa tags to pass to the modal

okButtonText

okButtonText: string

Text to show in the confirm button

open

open: boolean

Whether the modal should be opened or not

topic

topic: string | ReactNode

Title for the modal

Methods

closeAction

  • closeAction(): void

confirmAction

  • confirmAction(): void

Generated using TypeDoc