Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 1.72 KB

README.md

File metadata and controls

49 lines (38 loc) · 1.72 KB

react-flexible-progressbar

License Version npm bundle size (minified) npm type definitions Build Status Coverage Status

Customizable lightweight progress bar using TypesScript and React 16

Demo

For example of the progressbar, go to https://loopline-systems.github.io/react-flexible-progressbar.

OR

To run that demo on your own computer:

Getting Started

Install

  npm i react-flexible-progressbar

Import in component

import ProgressBar from 'react-flexible-progressbar'
import 'react-flexible-progressbar/dist/progressBar.css'

Supported properties

{
  width?: number | string;
  height?: number | string;
  margin?: number | string;
  progress?: number;
  progressTxt?: string; // progress text to show before percentage
  showPercentage?: boolean; // whether to show percentage number
}