mirror of
https://github.com/bartgryszko/react-native-circular-progress.git
synced 2026-01-18 16:13:10 +00:00
Update example app and README
This commit is contained in:
parent
0eb673928b
commit
5d690a4788
@ -37,6 +37,7 @@ Use as follows:
|
||||
width={15}
|
||||
fill={100}
|
||||
tintColor="#00e0ff"
|
||||
onAnimationComplete={() => console.log('onAnimationComplete')}
|
||||
backgroundColor="#3d5875" />
|
||||
```
|
||||
|
||||
@ -88,8 +89,6 @@ You can configure the passing by following props:
|
||||
- **children(fill)** - you can pass function as a child to receive current fill
|
||||
- **onAnimationComplete** - you can pass a callback function that will be invoked when animation is complete. (see [here](https://facebook.github.io/react-native/docs/animated.html#working-with-animations))
|
||||
- **onLinearAnimationComplete** - you can pass a callback function that will be invoked when linear animation is complete. (see [here](https://facebook.github.io/react-native/docs/animated.html#working-with-animations))
|
||||
## Working example app
|
||||
|
||||
|
||||
## Circular progress bar example app
|
||||
|
||||
|
||||
@ -71,6 +71,7 @@ export default class ProgressChart extends React.Component {
|
||||
backgroundWidth={5}
|
||||
fill={fill}
|
||||
tintColor="#00e0ff"
|
||||
onAnimationComplete={() => console.log('onAnimationComplete')}
|
||||
backgroundColor="#3d5875" />
|
||||
|
||||
<AnimatedCircularProgress
|
||||
|
||||
2
expoexample/progresschart/package-lock.json
generated
2
expoexample/progresschart/package-lock.json
generated
@ -4490,7 +4490,7 @@
|
||||
"integrity": "sha1-IWevhrvJ+WS9Rb1fN2hOW1SWXjI="
|
||||
},
|
||||
"react-native-circular-progress": {
|
||||
"version": "git+https://github.com/bgryszko/react-native-circular-progress.git#73b1aa72d95d1c35d2d6a6da01dcea3b4f7fdb17",
|
||||
"version": "git+https://github.com/bgryszko/react-native-circular-progress.git#8049ad15540d67320e77d381ee71c78c1796bfde",
|
||||
"requires": {
|
||||
"art": "0.10.1",
|
||||
"prop-types": "15.6.0"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user