1.0.2 • Published 3 months ago

progress-indicator-react v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
3 months ago

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={""}
    />