kodobe-react-progress
v2.0.1
Published
Kodobe React Progress
Downloads
3
Readme
Kodobe React Progress
This is a simple react progress package
Install
npm install kodobe-react-progress
or
yarn add kodobe-react-progress
Setup
import Progress from 'kodobe-react-progress';
Usage
import Progress from "kodobe-react-progress";
function App() {
return (
<div>
<h3>Here is how to use a progress</h3>
<br />
<Progress percentage={75} showCount />
<br />
<Progress percentage={28} color="success" />
<br />
<Progress percentage={28} color="danger" showCount />
</div>
);
}
Options
- percentage: percentage must be between 0 an 100, inclusive of 0 and 100 (number, required)
- color: valid color include default, success or danger (string)
- showCount: shows progress count (boolean)
- style: style object
- className: string