icon
Description
Optional. Adds an icon into a buttonUsage
icon?: string;
Example
<Button type="primary" icon="wxi-alert" />
Details
The name of a default icon starts with the wxi-
prefix. Check the list of default icons.
Related article: Adding icons into buttons
Related sample: Button