React Native Simple Animated Progress Bar: A Customizable Component

simple animated progress bar in react native work on both android & ios

image

Install

npm install react-native-simple-animated-progress-bar --save

or

yarn add react-native-simple-animated-progress-bar

Usage

import AnimatedProgressBar from 'react-native-simple-animated-progress-bar';

<AnimatedProgressBar
   size={8}
   duration={500}
   progress={currentProgress}
/>

props

nametypedefaultdescription
sizenumber4progress bar height
isRtlbooleantrueby this prop you can select progress bar style rtl or ltr
bgColorstring'#c8e6c9'progress bar background color
barColorstring'#43a047'progress bar color
durationnumber500animation duration in progress changing
progressnumbernonenumber between 0 - 1
barStyleobject or arraynoneif you want override progress bar style use this prop
rootStyleobject or arraynoneif you want override progress bar root style use this prop
barWidthnumberscreen widthif you want change progress bar width use this prop

Download details:

Author: emami7495
Source: https://github.com/emami7495/react-native-simple-animated-progress-bar

#react #reactnative 

React Native Simple Animated Progress Bar: A Customizable Component
1.30 GEEK