1.1.1 • Published 6 years ago

progress-meter v1.1.1

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

progress-meter

This is a simple progress meter for react applications using <svg> element that can be configured through props.

Usage

npm install --save progress-meter

After installing the package simply import it and use it as a meter component.

import Meter from 'progress-meter';

<Meter 
  percent={percent}
  color={color}
  label={label}
  rounded
  animate
/>

Props

PropsDefault ValuesBehaviour
width200The width of the meter
height6Meter height.
percent0Takes value from 0 - 1 and times with the width of the component to display the meter progress.
roundedtrueChanges the border radius of the component.
color#0078bccan be updated to show different state.
animatetrueprovides smooth animation to the progress meter.
labelSize12
labelnullnull
1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago