react-native-background-progress
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -86,3 +86,2 @@ import React, { Component } from 'react'; | ||
// containerStyle: View.propTypes.style, | ||
stepDuration: propTypes.number, | ||
friction: propTypes.number, | ||
@@ -89,0 +88,0 @@ tension: propTypes.number, |
{ | ||
"name": "react-native-background-progress", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Background progress for react native", | ||
@@ -22,4 +22,5 @@ "main": "index.js", | ||
"devDependencies": { | ||
"react-native": "0.52.2", | ||
"prop-types": "^15.6.0" | ||
} | ||
} |
@@ -76,7 +76,9 @@ # react-native-background-progress | ||
| Prop | Description | Default | | ||
|---|---|---| | ||
|**`duration`**|The duration each view takes to load in|`300`| | ||
|**`staggerDelay`**|The delay between each animation|`200`| | ||
|**`useNativeDriver`**|Use the native drive for the animations|`true`| | ||
| Prop | Description | Required | Default | | ||
|---|---|--|--| | ||
|**`backgroundColor`**|The main color for the background|`true`|`N/A`| | ||
|**`stepColor`**|The color indicating progress|`true`|`N/A`| | ||
|**`containerStyle`**|Override the container styles| `false` |`N/A`| | ||
|**`friction`**|Controls the friction applied to the animation when a step occurs|`false`|`15`| | ||
|**`tension`**|Controls the tensions applied to the animation when a step occurs|`false`|`140`| | ||
@@ -83,0 +85,0 @@ ###### <a href='#top'>Top</a> |
5647
89
2
80