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

@wpmudev/react-progress-bar

Package Overview
Dependencies
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wpmudev/react-progress-bar

WPMU DEV Shared UI React Progress Bar Component

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
0
-100%
Maintainers
3
Weekly downloads
 
Created
Source

@wpmudev/react-progress-bar

React Progress bar

npm i @wpmudev/react-progress-bar --save-dev

Usage

JavaScript Instantiation

import React from "react";

import { ProgressBar } from "@wpmudev/react-pagination";

const MyApp = () => {
	//This is a prop that has to be passed to Progress bar to include all the functions below and will be able to choose the placement of it along with other components as well.
	const content = progress => {
		return (
			<>
				/* Bar which will indicate */
				{bar(progress)}
				/* Percentage (text) */
				{pecentage(progress)}
				/* Loading Icon */
				{progressIcon()}
				/* Close Button */
				{closeBtn(func)}
			</>
		);
	};

	return <ProgressBar content outlined={false} progress={50} />;
};

Props

Prop NameTypeDescription
progressIntegerProgress percentage.
outlinedBooleanA think block style line would be added to the progressbar component if true.
contentcomponentPass the component here which will include all the components of the progress bar which can be placed with some custom content as well.

FAQs

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