Icon
All available icons
The name attribute of the icon uses a prefix to represent the three-party library icon. Currently, it supports 1 product icon library, 2 three-party icon library and direct use of emoji icon
homemeans thehomeicon that uses the product icon library;oct:accessibilitymeans use octicsaccessibilityicon;ant:account-book-outlinedmeans that theccount-book-outlinedicon using ant design icons is supported by all outlined and filled icons of ant;😀means to use emoji directly.
Container properties
All component configurations support Container properties at the first level.
Component properties
| Name | Type | Default | Supports Variable Pattern | Description |
|---|---|---|---|---|
| className | string | ✔️ | The className of the component | |
| style | object | The style of the component | ||
| name | string | Icon's name | ||
| size | number | Icon size | ||
| color | string | 'currentColor' | Icon color |
All the remaining componentsProps will be passed to the component root element (svg).
JS API
The interface obtained through formApi.getFieldApi() is as follows:
| Name | Type | Description |
|---|---|---|
| node | HTML Element | The root DOM element of the component |