2.0.1 • Published 3 years ago

kodobe-react-progress v2.0.1

Weekly downloads
7
License
ISC
Repository
-
Last release
3 years ago

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
2.0.1

3 years ago

2.0.0

3 years ago

1.1.3

3 years ago