Skip to content

Commit 00b513f

Browse files
committed
Remove disable Overlay props
1 parent 9c3fdad commit 00b513f

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ The `HeaderImageScrollView` handle also the following props. None is required :
6363
| `useNativeDriver` | `boolean` | `false` | Use native driver for the animation for performance improvement. A few props are unsupported at the moment if `useNativeDriver=true` (`onScroll`, `ScrollComponent`, `renderTouchableFixedForeground`) | - |
6464
|`headerContainerStyle`|`Object`|`undefined`|Optional styles to be passed to the container of the header component|
6565
|`disableHeaderGrow`|`boolean`|`undefined`|Disable to grow effect on the header|
66-
|`disableOverlay`|`boolean`|`undefined`|Disable the image overlay|
6766

6867
### Foreground
6968

@@ -99,6 +98,7 @@ All of the properties of `View` are supported.
9998
| `onDisplay` | `function` | Called when the component finished to be displayed again. |
10099
| `onTouchTop` | `function` | Called when the Top of the component touch the Top of the ScrollView. (`onDisplay` + `onBeginHidden`) |
101100
| `onTouchBottom` | `function` | Called when the Bottom of the component touch the Top of the ScrollView. (`onHide` + `onBeginDisplayed`) |
101+
102102
### Contributing
103103

104104
All contributions are welcomed, that might be either adding new features, doing some refaco of the exisiting code or fixing bugs.

src/ImageHeaderScrollView.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ export type Props = ScrollViewProps & {
4545
useNativeDriver: ?boolean,
4646
headerContainerStyle?: ?Object,
4747
disableHeaderGrow?: ?boolean,
48-
disableOverlay?: ?boolean,
4948
};
5049

5150
export type DefaultProps = {
@@ -250,7 +249,6 @@ class ImageHeaderScrollView extends Component<Props, State> {
250249
onScroll,
251250
scrollViewBackgroundColor,
252251
useNativeDriver,
253-
getScrollViewRef,
254252
...scrollViewProps
255253
} = this.props;
256254
/* eslint-enable no-unused-vars */

0 commit comments

Comments
 (0)