1.0.0 • Published 2 years ago
afryxicons-test v1.0.0
Introduction
This is svg icon package for develoepr to install and use in the react project.
Getting Started
Installation: npm i afryxicons
Usage: import Icon from 'afryxicons';
Optional Props
Prop | Type |
---|---|
size | xxsm, xsm, sm, md, lg, xlg, xxlg, xxxlg |
width | number |
title | string |
id | string |
Build and Publish
npm run build
The streamline build process in one step, so that when we run npm run build.
Our src/Icons and lib will have the most updated assets (delete/generate). The svgr script will run and create our React components with our options. And finally the rollup bundler will compile our library.
npm publish
Publish the package to npm registray, make sure login in using npm account, the package link https://www.npmjs.com/package/afryxicons.
Learn More
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.
1.0.0
2 years ago