Socket
Socket
Sign inDemoInstall

react-progressable

Package Overview
Dependencies
297
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-progressable

A classic progressbar component for react.


Version published
Weekly downloads
3
Maintainers
1
Install size
26.0 MB
Created
Weekly downloads
 

Readme

Source

React-Progressable

A classic progressbar component for react. Lot to come yet...

Install

npm install --save react-progressable

Usage

import React, {Component} from 'react';
import {ProgressBarClassic, ProgressCircleClassic} from "react-progressable";

class ProgressBarComponent extends Component {
    render(){
         <div>
            <ProgressBarClassic fill={80} />
            <ProgressCircleClassic fill={80} />
         </div>   
    }
}

export default ProgressBarComponent;

Progress-Bar Classic

Progress-Bar Classic

Available Props:

Prop NameProp TypeDefault ValueDescription
backgroundString#eeeeeeBackground color for un-filled area
fillNumber0Progress percentage. Max: 100
fillColorString#ff9a00Background color for filled area
fillTextStringNULLProgress-bar text to be appear in filled area
fillTextStyleObject{}React style object for fillText
heightNumber25Height of the progress-bar in px.
borderRadiusNumber0Border radius in px.
animateBooleantrueProgress-bar animation toggle
animateDurationNumber1Progress-bar animation duration in seconds
stripesBooleanfalseStripe effect on progress-bar
stripesAnimateBooleanfalseAnimate stripe effect
stripesAnimateDirectionStringleftAnimated stripe effect direction. 'right' or 'left'

Progress-Circle Classic

Progress-Circle Classic

Available Props:

Prop NameProp TypeDefault ValueDescription
backgroundString#eeeeeeBackground color for un-filled area
fillNumber0Progress percentage. Max: 100
fillColorString#ff9a00Background color for filled area
fillTextStringNULLProgress-circle text to be appear in center
fillTextStyleObject{}React style object for fillText
sizeNumber150Height and Width of the progress-circle.
ringWidthNumber7Width of the progress-circle filled area

Keywords

FAQs

Last updated on 25 Oct 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc