Socket
Socket
Sign inDemoInstall

react-line-progress

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-line-progress

React line progress bar


Version published
Weekly downloads
5
Maintainers
1
Weekly downloads
 
Created
Source

React Progress Bar Plus

Progress bar component for ReactJS. A modification of https://github.com/minhtranite/react-progress-bar-plus

Installation

NPM

npm install --save react-line-progress

Bower

bower install --save react-line-progress

Usage

JS

var ProgressBar = require('react-line-progress');

<ProgressBar percent={10}/>

CSS

Webpack:

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

Without Webpack:

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

UMD

<link rel="stylesheet" type="text/css" href="path/to/react-line-progress/dist/progress-bar.css">
<script src="path/to/react-line-progress/dist/react-line-progress.js"></script>
...
var ProgressBar = window.ReactProgressBarPlus;
...

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.
spinneroneOf([false, 'left', 'right'])leftSpinner position. Pass false to hide spinner icon.
classNamestringCustom class

FAQs

Package last updated on 18 Nov 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc