@aredotna/icons
v0.2.0
Published
[@aredotna/icons](https://github.com/aredotna/icons) is the canonical source for icons used at Are.na, and serves as an automatic build pipeline for generating JSX representations of `.svg` sources that can easily be imported into React apps.
Downloads
82
Readme
@aredotna/icons
@aredotna/icons is the canonical source for icons used at Are.na, and serves as an automatic build pipeline for generating JSX representations of .svg sources that can easily be imported into React apps.
Meta
- State: production
- GitHub: https://github.com/aredotna/icons
- CI/Deploys: Manually published to NPM for the time being
- Point People: @dzucconi
Installation and Usage
yarn add @aredotna/iconsAnd then later, import icons like so:
import ArenaLogo from "@aredotna/icons/ArenaLogo"
const MyApp = () => {
return <ArenaLogo />
}Adding New Icons
- Add the SVG file to the
srcdirectory - Bump the version number
- Run
npm publish
