Skip to content

Commit 70331cd

Browse files
Fallback to ScrollView on ios
Fix #11
1 parent 21e0883 commit 70331cd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

index.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
1+
import { Platform, ScrollView } from 'react-native';
12
import NestedScrollView from './lib/NestedScrollView';
2-
export default NestedScrollView;
3+
4+
export default Platform.select({
5+
ios: ScrollView,
6+
android: NestedScrollView
7+
})

0 commit comments

Comments
 (0)