0.1.1 • Published 5 years ago

@aoeu/icons v0.1.1

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

@aoeu/icons

yarn add @aoeu/icons

This package provides access to an Icons component, which renders an svg element with a collection of various symbol elements in it for rendering common SVG icons in web applications. This should be rendered into consuming applications in the following manner:

<Icons />

This will make those icons available for reference from the available Icon component, which takes a symbolId prop, and makes use of the SVG use element, which will reference the given symbol element rendered with the Icons component above. It can be used in this manner:

<Icon symbolId="arrow-down" />