blob: 620abe7f672c887d30e7326f2d4659569468ffa1 (
plain) (
tree)
|
|
import React from 'react';
import { View, Button, Text } from 'react-native';
const MallSelectionScreen = ({ navigation }) => {
const handleMallSelect = () => navigation.navigate('ProductScanner');
return (
<View>
<Text>Select Mall:</Text>
<Button title="Mall 1" onPress={handleMallSelect} />
<Button title="Mall 2" onPress={handleMallSelect} />
</View>
);
};
export default MallSelectionScreen;
|