progress-indicator-react
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

progress-indicator-react

Progress Indicator for React Apps

Installation

npm i progress-indicator-react

Usage

-Import ProgressIndicator

 import ProgressIndicator from 'progress-indicator-react';

-Usage of component

<ProgressIndicator
    percentage={50}
/>

Props

percentage: number;
barStyle?: object;
barContainerStyle?: object;
percentageTextStyle?: object;
percentText?: string;

Example :-

    <ProgressIndicator
        percentage={50}
        barStyle={{
            backgroud: "red"
        }}
        barContainerStyle={{
            borderColor: "red"
        }}
        percentageTextStyle={{
            color: "red"
        }}
        percentText={""}
    />

Package Sidebar

Install

npm i progress-indicator-react

Weekly Downloads

4

Version

1.0.2

License

ISC

Unpacked Size

3.5 kB

Total Files

4

Last publish

Collaborators

  • sahilsaxena9711