Themes

Components/Types/ConfirmModalOptions
ConfirmModalOptions

What to display within a modal.

Name
Description
Type
body

Text or component to display in the body of the modal.

string | FunctionalComponent<unknown>
confirm

Text to display within the confirm button.

string
confirmVariant

Which variant to display the button as.

ButtonVariant
heading

Text to display in the heading.

string
preHeading

Text to display above the heading.

string
warning

Text to display in red below the body.

string

ButtonVariant

ButtonVariant = "default" | "filled" | "outline" | "delete" | "cancel" | "minimal" | "link"