-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
25 lines (23 loc) · 644 Bytes
/
App.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import React from 'react';
import { StyleSheet, SafeAreaView } from 'react-native';
import GistList from './src/screens/GistList/GistList';
import { ScrollView } from './node_modules/react-native-gesture-handler';
import { MainNavigator } from './src/navigators/';
export default class App extends React.Component {
render() {
return (
<ScrollView style={styles.container} contentContainerStyle={{flexGrow:1}}>
<MainNavigator />
</ScrollView>
);
}
}
const styles = StyleSheet.create({
container: {
backgroundColor: '#fff',
width: '100%',
flexGrow: 1,
flexShrink: 1,
flexBasis: 1
},
});