$ git show progress-bar
Progress bar
Animate a bar's width to a percentage value.
// The fill animates every time percent changes
<View style={styles.track}>
<Animated.View
style={[styles.fill, {
width: percent + '%',
transitionProperty: 'width',
transitionDuration: '600ms',
transitionTimingFunction: 'ease-out',
}]}
/>
</View>