0.0.8 • Published 5 years ago
react-eva-icons v0.0.8
⚛:heart: react-eva-icons
React.js components for the awesome open source Eva Icons library.
Demo
Visit here
Getting Started
Using npm
npm install --save react-eva-icons
Or using yarn
yarn add react-eva-icons
Usage
import Icon from 'react-eva-icons';
...
render (
<Icon
name="activity"
size="medium" // small, medium, large, xlarge
animation={{
type: "pulse", // zoom, pulse, shake, flip
hover: true,
infinite: false
}}
/>
);
Props
Option | Type | Values | Description |
---|---|---|---|
animation | object | See here | Icon animation |
fill | string | e.g. '#fff' | Icon color |
name | string | e.g. 'activity' | Define the name of the icon |
size | string | small , medium , large , xlarge | Icon size |
License