npm.io
1.0.2 • Published 1 year ago

progress-indicator-react

Licence
ISC
Version
1.0.2
Deps
0
Size
3 kB
Vulns
0
Weekly
0

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

Keywords