-
Notifications
You must be signed in to change notification settings - Fork 11
/
Step6.js
52 lines (46 loc) · 1.25 KB
/
Step6.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
41
42
43
44
45
46
47
48
49
50
51
52
import React from "react";
import {
Alert,
Linking,
Dimensions,
LayoutAnimation,
Picker,
Text,
View,
Vibration,
StatusBar,
StyleSheet,
TouchableOpacity
} from "react-native";
import { Button } from "react-native-elements";
import NavBar from "./../../components/NavBar";
import styles from "./../../styles/qr";
import { BarCodeScanner, Permissions } from 'expo';
import { FormLabel, FormInput, FormValidationMessage } from 'react-native-elements'
export default class Step5 extends React.Component {
constructor(props) {
super(props);
console.log("step6 ", props.navigation.state.params)
const state = props.navigation.state.params
this.state = Object.assign({}, state);
console.log("step6 state", this.state)
}
render() {
const { navigate } = this.props.navigation;
return (
<View style={styles.container}>
<NavBar />
<Text style={styles.stepText}>Done</Text>
<Text style={styles.heading}>Done</Text>
<View style={styles.container}>
</View>
<Button
onPress={() => navigate('ConsumerScan')}
title="Scan Goods"
color="#841584"
accessibilityLabel="Learn more about this purple button"
/>
</View>
);
}
}