Children can be a string, node or a function accepting
The intent of the CornerDialog. Used for the button.
When true, the dialog is shown.
Title of the Dialog. Titles should use Title Case.
Function that will be called when the exit transition is complete.
Function that will be called when the enter transition is complete.
When true, the footer with the cancel and confirm button is shown.
Function that will be called when the confirm button is clicked. This does not close the Dialog. A close function will be passed as a paramater you can use to close the dialog.
Label of the confirm button.
When true, the cancel button is shown.
When true, the close button is shown.
Function that will be called when the cancel button is clicked. This closes the Dialog by default.
Label of the cancel button.
Width of the Dialog.
Props that are passed to the dialog container.