@ifrc-go/icons
v2.0.1
Published
IFRC-GO icons library for React.
Downloads
373
Readme
IFRC-GO Icons

React icons for IFRC-GO project.
Installation
yarn add @ifrc-go/icons
#or
npm install @ifrc-go/iconsGitHub Pages
For local development
docker-compose up page-devFor building the NextJS project
docker-compose up page-buildUsage
Each icon can be imported as a react component.
import { MenuLineIcon } from '@ifrc-go/icons';
function MyComponent() {
return (
<div>
<MenuLineIcon className={{ color: #3b82f6 }} />
</div>
)
}Each icon has its stroke and fill property set to currentColor. The icon style can be set using the color CSS property.
License
This library is MIT licensed.
