0.2.1 • Published 3 years ago
react-allergens v0.2.1
React Allergens
Ready to use SVG components of allergens for React!
Installation
Yarn
yarn add react-allergens
Usage
import { FishIcon } from 'react-allergens';
const HomePage = () => {
return <FishIcon />;
};
Props
Key | Default | Notes |
---|---|---|
width | 200px | |
height | 200px | |
innerColor | white | |
outerColor | default icon color | |
wrapperStyle | {} | Style object passed to the svg wrapper |