Skip to content

Commit 44c835d

Browse files
committed
bump
1 parent 5a0ff7c commit 44c835d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,18 @@ The `ParallaxScrollView` component adds a few additional properties, as describe
7373
| `onChangeHeaderVisibility` | `func` | No | A callback function that is invoked when the parallax header is hidden or shown (as the user is scrolling). Function is called with a `boolean` value to indicate whether header is visible or not. |
7474
| **`parallaxHeaderHeight`** | `number` | **Yes** |This is the height of parallax header. |
7575
| `renderBackground` | `func` | No | This renders the background of the parallax header. Can be used to display cover images for example. (Defaults to an opaque background using `backgroundColor`) |
76-
| `renderFixedHeader` | `func` | No | 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. |
76+
| `renderFixedHeader` | `func` | No | This renders an optional fixed header that will always be visible and fixed to the top of the view (and sticky header). You should set its height and width appropriately. |
7777
| `renderForeground` | `func` | No |This renders the foreground header that moves at same speed as scroll content. |
7878
| `renderScrollComponent` | `func` | No | A function with input `props` and outputs a `ScrollView`-like component in which the content is rendered. This is useful if you want to provide your own scrollable component. (See: [https://github.com/exponentjs/react-native-scrollable-mixin](https://github.com/exponentjs/react-native-scrollable-mixin)) (By default, returns a `ScrollView` with the given props) |
7979
| `renderStickyHeader` | `func` | No | This renders an optional sticky header that will stick to the top of view when parallax header scrolls up. |
8080
| `stickyHeaderHeight` | `number` | If `renderStickyHeader` is used | If `renderStickyHeader` is set, then its height must be specified. |
8181

8282
## Changelog
8383

84+
### 0.17.3
85+
86+
- Allows `renderFixedHeader` to be used without providing `renderStickyHeader` and `stickyHeaderHeight`.
87+
8488
### 0.17.2
8589

8690
- Adds optional `fadeOutForeground` property that can be set to false to disable fading out of the foreground.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-parallax-scroll-view",
3-
"version": "0.17.2",
3+
"version": "0.17.3",
44
"description": "A ScrollView-like component with parallax and sticky header support",
55
"main": "src/index.js",
66
"repository": {

0 commit comments

Comments
 (0)