Skip to content

ButtonComponent.setWarning method

ButtonComponent › setWarning

Official

Sets the button component to a warning button. Usually it's added to buttons that perform destructive actions, such as deleting user's data.

Signature:

setWarning(): this

Returns: this

Since: 0.11.0