diff options
Diffstat (limited to 'src/screens')
-rw-r--r-- | src/screens/MallSelectionScreen.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/screens/MallSelectionScreen.js b/src/screens/MallSelectionScreen.js new file mode 100644 index 0000000..620abe7 --- /dev/null +++ b/src/screens/MallSelectionScreen.js @@ -0,0 +1,16 @@ +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; |