react-hero-icon
v0.0.7
Published
``` npm install react-hero-icon ```
Downloads
462
Readme
Install
npm install react-hero-icon
Usage
import Icon from "react-hero-icon";
<Icon icon="paper-clip" />;
Specify the variant with a type attribute (outline-md is the default set)
import Icon from "react-hero-icon";
<Icon icon="paper-clip" type="solid" />
<Icon icon="paper-clip" type="outline" />
Or import the icon directly from the set
import { PaperClip } from "react-hero-icon/solid";
<PaperClip />;
Enjoy!