@invisionag/iris-react-icon
v5.6.2
Published
```js import Icon from '@invisionag/iris-react-icon'; ```
Downloads
228
Maintainers
Keywords
Readme
import Icon from '@invisionag/iris-react-icon';
An icon component.
Usage:
Account
<Icon is="account" />
Props
is
This props expects the name of an svg as implemented by the svg package. See there for which icons are implemented
color
Expects a css compatible color code. Will Set the foreground color of the icon
backgroundColor
Expects a css compatible color code. Will Set the background color of the icon