1.0.13 • Published 6 months ago

react-native-custom-animated-progressbar v1.0.13

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

React Native simple Custom Animated Progress Bar

This is a simple animated progressbar component.

Installation

Supported version: react-native >= 0.59.0

npm install react-native-custom-animated-progressbar

or

yarn add react-native-custom-animated-progressbar

Example

import AnimatedProgressBar from 'react-native-custom-animated-progressbar';

....

 <AnimatedProgressBar progress={progress} />
        <AnimatedProgressBar
          size={20}
          progress={progress}
          rootStyle={{
            marginTop: 35,
          }}
        />
        <AnimatedProgressBar
          size={20}
          isRtl={false}
          progress={progress}
          rootStyle={{
            marginTop: 35,
          }}
        />

Screenshot

Gif

progress_bar_1

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
1.0.13

6 months ago

1.0.12

6 months ago

1.0.11

7 months ago

1.0.10

7 months ago

1.0.9

7 months ago

1.0.8

7 months ago

1.0.7

7 months ago

1.0.6

7 months ago

1.0.5

7 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago