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

react-cloud-progress-bar

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-cloud-progress-bar

progress bar for react

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
Maintainers
1
Weekly downloads
 
Created
Source
  • react-cloud-progress-bar

    Simple React component for a progress bar.

    Install

    npm install react-cloud-progress-bar --save
    

    Example

    import ProgressBar from 'react-cloud-progress-bar';
    
    <ProgressBar 
      pFunctions={
        [ 
          { func:function1, paras:[para1] },
          { func:function2, paras:[para1, para2] },
          { func:function3, paras:[para1, para2, para3] }
        ]
      }
      color={'green'}
      duration={'5'}
    />
    
    

    Documentation - props

    Always required

    props:pFunctions

    A Array contain several functions and function's parameters, functions will be run when progress bar run out.

    [ 
      { func:function1, paras:[para1] },
      { func:function2, paras:[para1, para2] },
      { func:function3, paras:[para1, para2, para3] }
    ]
    

    Optional

    color: string
    default:'#0085ff'

    Set the progress bar color.

    height: string
    default:'2px'

    Set the progress bar height.

    duration: string
    default: '10'

    Set the progress bar duration.

    Changelog

    • 1.0.3

Keywords

FAQs

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