forked from shakogegia/markdown-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
40 lines (30 loc) · 857 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import { Root } from "native-base";
import Reactotron from 'reactotron-react-native'
import MainScreen from "./MainScreen";
// import CNScreen from "./CNScreen";
Reactotron
.configure() // controls connection & communication settings
.useReactNative() // add all built-in react native plugins
.connect() // let's connect!
console.tron = Reactotron
export default class App extends React.Component {
render() {
return (
<Root style={{ flex: 1 }}>
<View style={styles.container}>
<MainScreen />
</View>
</Root>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
// backgroundColor: 'red',
// alignItems: 'center',
// justifyContent: 'center',
},
});