1.0.5 • Published 2 years ago

@hubert.suprunowicz/shapes v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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