@hubert.suprunowicz/shapes
v1.0.5
Published
Few vector shapes
Downloads
16
Maintainers
Readme
About
Library consists of the few (Square, Circle, Triangle, Hexagon) basic vector shapes.
Download
npm install "@hubert.suprunowicz/shapes"
Example usage
import { Square, Circle, Triangle, Hexagon } from '@hubert.suprunowicz/shapes';
.
.
.
<div>
<Square color="#0000ff" />
<Circle color="#00ff00" />
<Triangle color="#ff0000" />
<Hexagon color="#ff00ff" />
</div>
Deploy
To download packages
npm install
Before publish build necessary files
npm build
To publish project
npm publish --access=public
Project structure
src
├── lib/ ---> library folder which will be exported during build
│ ├── components/
│ └── types/
|
└── tests/ ---> tests of the components