npm.io
2.4.4 • Published 3 months ago

@equinor/fusion-wc-icon

Licence
ISC
Version
2.4.4
Deps
3
Size
285 kB
Vulns
0
Weekly
0
Stars
13

fusion-wc-icon Published on npm

Storybook

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',
}