1.0.0 • Published 6 years ago

air-progressbar v1.0.0

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
6 years ago

AIR Progressbar

NPM version npm gemnasium deps Build Status

Progress bars for React. Line shaped

Shortcuts

Get started

Air Progressbar is a lightweight progressbar component for React

How to install

Install the library using npm:

npm install --save air-progressbar

How it works

Shape

Line progress bar. Appends SVG to container.

Example

import * as Progressbar from "air-progressbar"
export default App extends React.Component {
    render() {
        return (
            <Progressbar.Line
                percent={20}
            />
        )
    }

}

Props:

PropDescription
percent?: numberProgress from 0 to 100. E.g. 67% progress would equal 67. Default 0.
strokeWidth?: numberValue for progress bar's stroke width. Default 1.
strokeColor?: stringValue for progress bar's stroke color. Default #2db7f5
tailColor?: stringValue for progress bar's tail color. Default #D9D9D9
strokeLinecap?: Options("butt","round","square","inherit")Styles for progress bar. Default is round
1.0.0

6 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago