🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

react-progress-bar-plus

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-progress-bar-plus

Progress bar component for ReactJS.

0.2.0
Source
npm
Version published
Weekly downloads
1.1K
21.88%
Maintainers
1
Weekly downloads
 
Created
Source

React Progress Bar Plus

Progress bar component for ReactJS.

Installation

npm install --save react-progress-bar-plus

Usage

JS

var ProgressBar = require('react-progress-bar-plus');

<ProgressBar percent={10}/>

CSS

Webpack:

require('react-progress-bar-plus/lib/progress-bar.css');

Without Webpack:

<link rel="stylesheet" type="text/css" href="path/to/react-progress-bar-plus/lib/progress-bar.css">

Props

NameTypeDefaultDescription
percentnumber-1Progress percent
onTopboolfalseProgress bar will ontop & height 100%
autoIncrementboolfalseif true percent will auto increment Math.random() + 1 - Math.random()% in intervalTime ms.
intervalTimenumber200Interval time for auto increment.

Example

View demo or example folder.

Keywords

react-component

FAQs

Package last updated on 12 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts