-
Notifications
You must be signed in to change notification settings - Fork 1
/
App.js
39 lines (33 loc) · 770 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
import React, { Component } from 'react';
import { StyleSheet, Text, View, TouchableOpacity } from 'react-native';
import AppNavigator from './src/AppNavigator';
import CameraComponent from './src/CameraComponent';
class App extends Component{
constructor(props){
super(props);
this.state = {
leaf_image: [],
}
}
render(){
return (
// <View>
// <AppNavigator
// screenProps={
// {
// leaf_image: this.state.leaf_image,
// }
// }
// />
// <CameraComponent/>
<AppNavigator
screenProps={
{
leaf_image: this.state.leaf_image,
}
}
/>
)
}
}
export default App;