react-allergens-icons

0.2.0 • Public • Published

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

image

Readme

Keywords

none

Package Sidebar

Install

npm i react-allergens-icons

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

101 kB

Total Files

4

Last publish

Collaborators

  • oniurain