Skip to content

Commit 137fd8b

Browse files
Don't explose react-native-nested-scroll-view anymore
1 parent 39611e0 commit 137fd8b

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ easy to integrate with Animated.Event and FlatList out the box.
99

1010
## Getting started
1111

12+
Make sure to install both `react-native-collapsing-toolbar` and `react-native-nested-scroll-view`.
13+
14+
`$ npm install react-native-nested-scroll-view --save`
1215
`$ npm install react-native-collapsing-toolbar --save`
1316

1417
### Installation
1518

16-
Make sure to add both `react-native-collapsing-toolbar` and `react-native-nested-scroll-view`
17-
1819
MainActivity.java
1920

2021
```diff
@@ -80,9 +81,10 @@ import {
8081
CoordinatorLayout,
8182
CollapsingToolbarLayout,
8283
CollapsingParallax,
83-
NestedScrollView,
8484
} from 'react-native-collapsing-toolbar'
8585

86+
import NestedScrollView from 'react-native-nested-scroll-view'
87+
8688

8789
render() {
8890
const HEADER_HEIGHT = 300

index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import NestedScrollView from 'react-native-nested-scroll-view'
21
import AppBarLayout from './lib/AppBarLayout'
32
import CoordinatorLayout from './lib/CoordinatorLayout'
43
import CollapsingToolbarLayout from './lib/CollapsingToolbarLayout'
@@ -9,5 +8,4 @@ export {
98
CoordinatorLayout,
109
CollapsingParallax,
1110
CollapsingToolbarLayout,
12-
NestedScrollView,
1311
};

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
"coordinatorLayout"
1414
],
1515
"dependencies": {
16-
"prop-types": "^15.5.10",
17-
"react-native-nested-scroll-view": "4.0.0"
16+
"prop-types": "^15.5.10"
1817
},
1918
"repository": {
2019
"type": "git",

0 commit comments

Comments
 (0)