@knotel/icons
v0.16.0
Published
A collection of reusable Icon components for Knotel applications
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 prepareRun tests:
yarn testDirectory 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 formatOriginally Forked and Heavily influenced by [Priceline One OSS Design System | https://github.com/pricelinelabs/design-system]
