0.2.0 • Published 3 years ago
react-allergens-icons v0.2.0
React Allergens
Ready to use SVG components of allergens for React! It's just here to fix bad build here => https://github.com/Danistc/react-allergens This repo will be removed when they are going to fix it
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 |
The icons
0.2.0
3 years ago