We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5193465 commit f583d12Copy full SHA for f583d12
index.js
@@ -1,7 +1,5 @@
1
import { Platform, ScrollView } from 'react-native';
2
-import NestedScrollView from './lib/NestedScrollView';
3
4
-export default Platform.select({
5
- ios: ScrollView,
6
- android: NestedScrollView
7
-})
+export default Platform.OS === 'android'
+ ? require('./lib/NestedScrollView')
+ : ScrollView;
0 commit comments