Optional
closeOnClick?: booleanIf true, the modal will be closed when the button is clicked.
Optional
confirm?: ContentIf set, confirm overlay will be shown before the action is executed.
The content to display in the modal.
Optional
onClick?: () => voidFunction to call when the button is clicked.
Optional
type?: ButtonTypeThe type of button to display.
Represents an action for a PopUp.