Socket
Socket
Sign inDemoInstall

react-native-background-progress

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

1

index.js

@@ -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,

3

package.json
{
"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>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc