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(): thisReturns: this
Since: 0.11.0