A simple infinite progress bar based on RN Animation rather than component's state to control the runner.
npm install react-native-infinite-progress-bar --save
<InfiniteProgressBar
containerStyle={{backgroundColor: 'white', marginTop: 100, marginBottom: 100}}
runnerStyle={{backgroundColor: 'blue'}}
duration={800}
/>
Prop | Description |
---|---|
containerStyle |
The style of the background. |
runnerStyle |
The style of the runner. |
duration |
The duration of one loop of the animation in milliseconds. |
To support me on maintaining this library: