New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-progress-component

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-progress-component

Progress bar for react

latest
npmnpm
Version
2.0.1
Version published
Maintainers
1
Created
Source

react-progress-component

Semi circle and circle progress bar for react.

Installation

$ npm install react-progress-component --save

Semi Circle Usage

import React from 'react';
import { SemiCircleProgress } from 'react-progress-component';

function App() {
  return (
    <div>
      <SemiCircleProgress progressValue={40} />
    </div>
  );
}

Semi Circle Options

NameTypeDefault ValueDescription
totalProgressnumber100Total value for the progress bar
progressValuenumber10The current progress value
progressLabelstring'Progress'Label for the progress bar
radiusnumber50Radius of the circle
strokeWidthnumber10Width of the stroke for the circle
strokeBackgroundColorstring'#C9E8B8'Background color for the circle
backgroundColorstring'#FFFFFF'Background color for the component
strokeColorstring'#7AC74F'Stroke color of the circle for the progressed area
strokeLinecapstring'round'Shape of the end of the stroke

Circle Usage

import React from 'react';
import { CircleProgress } from 'react-progress-component';

function App() {
  return (
    <div>
      <CircleProgress progressValue={40} strokeWidth={10} progressLabel={'Loading'} />
    </div>
  );
}

Circle Options

NameTypeDefault ValueDescription
totalProgressnumber100Total value for the progress bar
progressValuenumber10The current progress value
progressLabelstring'Progress'Label for the progress bar
radiusnumber80Radius of the semi circle
strokeWidthnumber20Width of the stroke for the semi circle
strokeBackgroundColorstring'#C9E8B8'Background color for the semi circle
backgroundColorstring'#FFFFFF'Background color for the component
strokeColorstring'#7AC74F'Stroke color of the semi circle for the progressed area
strokeLinecapstring'round'Shape of the end of the stroke

Keywords

progress bar

FAQs

Package last updated on 10 Jul 2022

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