round-percentage-bar

1.15.6 • Public • Published

Round percentage bar module for React

Install

To terminal in project root folder

npm i round-percentage-bar

Usage

In React module where you want to implement the bar

import Percentage from 'round-percentage-bar'

<Percentage percent={<PERCENT VALUE IN INTEGER>} />

Example

<Percentage percent={20} />

Note

This package is built for educational purposes. It's far from being complete and doesn't fill the correct space for values between 1% and 15%.

Readme

Keywords

Package Sidebar

Install

npm i round-percentage-bar

Weekly Downloads

2

Version

1.15.6

License

MIT

Unpacked Size

8.62 kB

Total Files

3

Last publish

Collaborators

  • damdafayton