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

react-progressbar-loader-circle

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-progressbar-loader-circle

Fully contrallable react progress bar

latest
Source
npmnpm
Version
0.3.1
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

react-progressbar-loader-circle

react-progressbar-loader-circle provides a fully customizable and simple component for rendering a progressBar.

Installation

npm i react-progressbar-loader-circle

Getting started with react-progressbar-loader-circle

react-progressbar-loader-circle is a react component that renders a progressBar. A progressBar is essential when fetching data from API's due to the time delay between the request and response. You can utilize the progressBar to show system status during the delay between requests.

//import progressBar from react-progressbar-loader-circle
import { ProgressBar } from "react-progressbar-loader-circle"

function App() {
  return (
    <div className="App">
      //Render default progress bar
      <ProgressBar/>
    </div>
  );
}

export default App;

react-progressbar-loader-circle allows the developer to customize the progressBar depending on his/her needs.

Customizable elements

  • width default 48px
  • height default 48px
  • borderColor default aqua
  • borderWidth default 8px
  • borderTopColor default white
  • borderTopWidth default 8px

Example of customized progress bar

//import progressBar from react-progressbar-loader-circle
import { ProgressBar } from "react-progressbar-loader-circle"

function App() {
  return (
    <div className="App">
      //Render default progress bar
      <ProgressBar
        width={"60px"}
        height={"60px"}
        borderColor={"#FFFFFF"}
        borderWidth={"10px"}
        borderTopColor={"#FA8072"}
        borderTopWidth={"10px"}
      />
    </div>
  );
}

export default App;

Happy hacking

Keywords

progress-bar

FAQs

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