1.0.2 • Published 3 years ago

react-native-simple-animated-progress-bar v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

React Native Simple Animated Progress Bar

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

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