22 lines
418 B
JavaScript
22 lines
418 B
JavaScript
import {Text} from 'react-native-paper';
|
|
|
|
export default function QrCode({setScannerSession}) {
|
|
return (
|
|
<View
|
|
style={{
|
|
flex: 1,
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
backgroundColor: 'white',
|
|
}}>
|
|
<Text
|
|
style={{color: 'black'}}
|
|
onPress={() => {
|
|
setScannerSession();
|
|
}}>
|
|
QrCode
|
|
</Text>
|
|
</View>
|
|
);
|
|
}
|