react-native-infinite-progress-bar

A simple infinite progress bar based on RN Animation rather than component's state to control the runner.

Installation

  1. npm install react-native-infinite-progress-bar --save

Example

<InfiniteProgressBar
  containerStyle={{backgroundColor: 'white', marginTop: 100, marginBottom: 100}}
  runnerStyle={{backgroundColor: 'blue'}}
  duration={800}
/>

Properties

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.

Donation

To support me on maintaining this library:

paypal