react-native-parallax-scroll-view
Advanced tools
Comparing version 0.16.11 to 0.16.12
{ | ||
"name": "react-native-parallax-scroll-view", | ||
"version": "0.16.11", | ||
"version": "0.16.12", | ||
"description": "A ScrollView-like component with parallax and sticky header support", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -17,4 +17,7 @@ # react-native-parallax-scroll-view | ||
![](./parallax-scroll-view-ios.gif) | ||
| iOS | Android | | ||
| --- | ------- | | ||
| ![](./parallax-ios.gif) | ![](./parallax-android.gif) | | ||
## Basic Usage | ||
@@ -54,4 +57,4 @@ | ||
All of the properties of `ParallaxScrollView` are supported. Please refer to the | ||
[`ParallaxScrollView` documentation](https://facebook.github.io/react-native/docs/scrollview.html) for more detail. | ||
All of the properties of `ScrollView` are supported. Please refer to the | ||
[`ScrollView` documentation](https://facebook.github.io/react-native/docs/scrollview.html) for more detail. | ||
@@ -62,4 +65,4 @@ The `ParallaxScrollView` component adds a few additional properties, as described below. | ||
| -------- | ---- | -------- | ------- | ----------- | | ||
| `renderParallaxHeader` | `func` | Yes | N/A | This renders the parallax header above the background. | | ||
| `parallaxHeaderHeight` | `number` | Yes | This is the height of parallax header. | | ||
| `renderParallaxHeader` | `func` | **Yes** | N/A | This renders the parallax header above the background. | | ||
| `parallaxHeaderHeight` | `number` | **Yes** | N/A | This is the height of parallax header. | | ||
| `headerBackgroundColor` | `string` | No | `'#000'` | This is the background color of the sticky header, and also used as parallax header background color if `renderBackground` is not provided. | | ||
@@ -66,0 +69,0 @@ | `contentBackgroundColor` | `string` | No | `'#fff'` | This is the background color of the content. | |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1220357
5
71