fusion-wc-icon
Installation
npm install @equinor/fusion-wc-icon
Properties/Attributes
Name | Type | Default | Description |
---|---|---|---|
icon |
IconName* |
'' |
Icon to display. Currently only maps to EDS icon names. |
type |
IconType** |
IconType.EDS |
Icon type to display. Currently only supports EDS. |
* IconName
is exported by @equinor/eds-icons
.
type IconName = keyof typeof icons | string;
** IconType
is exported by fwc-icon
.
enum IconType {
EDS = 'eds',
}