Skip to content

ButtonComponent.setIcon method

ButtonComponent › setIcon

Official

Sets the icon for the button component.

Signature:

setIcon(icon: string): this

Parameters:

Parameter Type Description
icon string

Returns: this

Since: 1.1.0