react-toolbox/components/progress_bar
@soyjavi 2423d09a4f Rename component doc to readme.md 2015-10-28 22:09:09 +07:00
..
__test__ Migrate progressbar and slider to sass 2015-10-10 11:25:47 +02:00
_config.scss Setup new file structure for sass files 2015-10-20 21:15:21 +02:00
index.jsx Babel to stage 2 and remove decorators 2015-10-22 01:31:17 +02:00
readme.md Rename component doc to readme.md 2015-10-28 22:09:09 +07:00
style.scss Setup new file structure for sass files 2015-10-20 21:15:21 +02:00

readme.md

Progress Bar

var ProgressBar = require('react-toolbox/components/progress_bar');

// Circular indeterminate progress bar
<ProgressBar type="circular" mode="indeterminate" />

// Linear determinate progress bar with buffer
<ProgressBar type="linear" mode="determinate" value={83} buffer={90}/>

Properties

Name Type Default Description
type String linear Type of the component, it can be circular or linear.
mode String indeterminate Mode of the progress bar, it can be determinate or indeterminate.
value Number 0 Value of the current progress.
min Number 0 Minimum value permitted.
max Number 100 Maximum value permitted.
buffer Number 0 Value of a secondary progress bar useful for buffering.
className String '' Additional class name to provide custom styling.

Methods

This component has no methods.