react-native-parallax-scroll-view
Advanced tools
Comparing version 0.16.12 to 0.16.13
{ | ||
"name": "react-native-parallax-scroll-view", | ||
"version": "0.16.12", | ||
"version": "0.16.13", | ||
"description": "A ScrollView-like component with parallax and sticky header support", | ||
@@ -13,2 +13,3 @@ "main": "index.js", | ||
"parallax-ios.gif", | ||
"parallax-android.gif", | ||
"README.md", | ||
@@ -15,0 +16,0 @@ "LICENSE" |
@@ -67,5 +67,5 @@ # react-native-parallax-scroll-view | ||
| `contentBackgroundColor` | `string` | No | `'#fff'` | This is the background color of the content. | | ||
| `renderBackground` | `func` | No | Opaque background using `backgroundColor`. | This renders the background of the parallax header. Can be used to display cover images for example. | | ||
| `renderBackground` | `func` | No | Opaque background using `headerBackgroundColor`. | This renders the background of the parallax header. Can be used to display cover images for example. | | ||
| `renderStickyHeader` | `func` | No | N/A | This renders an optional sticky header that will stick to the top of view when parallax header scrolls up. | | ||
| `stickyHeaderHeight` | `number` | If `renderStickyHeader` is used | 0 | If `renderStickyHeader` is set, then its height must be specified. | | ||
| `renderFixedHeader` | `func` | No | N/A | This renders an optional fixed header that will always be visible and fixed to the top of the view (and sticky header). You must set its height and width appropriately. | |
1989892
6