DialogButton
Interface | Source Code
Properties
Section titled “Properties”text: string
Section titled “text: string”beforeCloseOnClick?: Function
Section titled “beforeCloseOnClick?: Function”Runs if closeDialogOnClick is true and the dialog is processing the click
of this button.
buttonProps?: Omit<ButtonProps, “children”>
Section titled “buttonProps?: Omit<ButtonProps, “children”>”closeDialogOnClick?: boolean
Section titled “closeDialogOnClick?: boolean”Whether the dialog should automatically close when the button is clicked.
The close will happen immediately. If you need to do some processing before
the close or want to block the close entirely, use beforeCloseOnClick in
conjunction with this property.