@knotel/icons
v0.16.0
Published
A collection of reusable Icon components for Knotel applications
Downloads
8
Keywords
Readme
@knotel/icons
Knotel React icons
yarn add @knotel/icons
yarn @knotel/icons
Usage
import React from 'react'
import HeartIcon from '@knotel/icons/lib/Heart'
export default props => <HeartIcon color="red" mr={2} />
For a complete list of all icons, see: the iconography docs
Development
Custom icon SVGs are included in the svg/
directory.
To build the icons locally, run:
yarn prepare
Run tests:
yarn test
Directory Structure
svg/ Source for custom SVG icons
src/ Source for wrapper Icon component
components/ React components for icons
test/ Unit tests
lib/ Icon components compiled to commonjs format
Originally Forked and Heavily influenced by [Priceline One OSS Design System | https://github.com/pricelinelabs/design-system]