Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@holidayextras/react-progress-bar

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@holidayextras/react-progress-bar

Component to generate a simple loading bar (wrapped in a panel)

  • 4.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
4
Weekly downloads
 
Created
Source

# react-progress-bar

React Component to render a React Bootstrap progress bar (wrapped in a panel)

var ProgressBar = require('react-progress-bar');
ReactDOM.render(<ProgressBar />, document.getElementById('container'));

Options

  • start - The starting point for the transition to the loaded percentage. Default: 0.
  • now - The currently loaded percentage you want to display. Default: 100.
  • duration The duration of the transition to the loaded percentage. - Default: 1.
  • title A title on the loading panel. - Default: null.
  • subtitle A subtitle on the loading panel. - Default: null.
  • type The type of loading bar (one of success', 'info', 'warning', 'danger') - Default: 'info'.

Demo

Run npm run start then open doc/example.html in a browser to see it working

Developing

Clone the repo and npm install.

npm start will create and watchify an example which you can open in your browser, at doc/example.html

npm test for the unit tests.

npm run coverage gets coverage with istanbul, report is output to the coverage directory. It will exit nonzero if any metric is below 100%

npm run lint checks the code against our guidelines

FAQs

Package last updated on 07 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