-
Notifications
You must be signed in to change notification settings - Fork 2
Progress Bar
brandonk1234 edited this page Dec 5, 2016
·
3 revisions
The progressBar displays the status of a certain task. The user has the ability to also change the colour of the bar, the colour is set to purple at default.
The props needed for this component are listed and explained below:
-
value
- This prop must be aNumber
.
<ProgressBar
value={this.state.progressValue} />
// ...React Component
getInitialState: function() {
return {
progressValue: 23
}
},