The style for the entire component. This doesn't really differ from the backgroundStyle property. You must set width either here or in backgroundStyle in order to make sure the component works properly.
The interval in milliseconds to update the animation when using method start().
1000
updateRatio
The ratio (of the remaining value) to periodically update the progressbar value when using method start(). It increases by 15% periodically by default
.15
Component methods
Method
Description
update(progress)
The recommended way to update the progress of the progress bar is to use the progress property. If you prefer, you can use this update method to update the progress directly. To access this method, set the ref property on the <ProgressBar> and call this.refs.progressBarName.update(0.3)
start()
To start the progressbar in infinite method. It updates every updateInterval (default: 1000) milliseconds some amount in percentage (set on prop updateRatio), so that it never actually finishes. Nice for when you don't know how much time it's going to take. It locks on .99 so it never ends. When you want to finish it call end() and it sets itself to 1