File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -32,12 +32,12 @@ You can find this example code here : https://github.com/bamlab/react-native-ima
3232## Basic Usage
3333
3434``` jsx
35- import HeaderImageScrollView , { TriggeringView } from ' react-native-image-header-scroll-view' ;
35+ import { ImageHeaderScrollView , TriggeringView } from ' react-native-image-header-scroll-view' ;
3636
3737// Inside of a component's render() method:
3838render () {
3939 return (
40- < HeaderImageScrollView
40+ < ImageHeaderScrollView
4141 maxHeight= {200 }
4242 minHeight= {MIN_HEIGHT }
4343 headerImage= {require (" ../../assets/NZ.jpg" )}
@@ -54,7 +54,7 @@ render() {
5454 < Text > Scroll Me! < / Text >
5555 < / TriggeringView>
5656 < / View>
57- < / HeaderImageScrollView >
57+ < / ImageHeaderScrollView >
5858 );
5959}
6060```
@@ -71,7 +71,7 @@ You can find examples in a [dedicated repository](https://github.com/bamlab/reac
7171All of the properties of ` ScrollView ` are supported. Please refer to the
7272[ ` ScrollView ` documentation] ( https://facebook.github.io/react-native/docs/scrollview.html ) for more detail.
7373
74- The ` HeaderImageScrollView ` handle also the following props. None is required :
74+ The ` ImageHeaderScrollView ` handle also the following props. None is required :
7575
7676### Header
7777
@@ -134,7 +134,7 @@ All of the properties of `View` are supported.
134134Just set the ` maxOverlayOpacity ` to ` 0 ` .
135135
136136``` jsx
137- < HeaderImageScrollView
137+ < ImageHeaderScrollView
138138 minOverlayOpacity= {0 }
139139 maxOverlayOpacity= {0 }
140140 {/* ... */ }
You can’t perform that action at this time.
0 commit comments