Skip to content

Commit 6f0a1c9

Browse files
committed
Merge pull request #8 from redism/master
Add initialProgress property to make progress start from the given value
2 parents 3204a96 + 221f6da commit 6f0a1c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ProgressBar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var ProgressBar = React.createClass({
3131

3232
getInitialState() {
3333
return {
34-
progress: new Animated.Value(0)
34+
progress: new Animated.Value(this.props.initialProgress || 0)
3535
};
3636
},
3737

0 commit comments

Comments
 (0)