diff options
author | Biswakalyan Bhuyan <biswa@surgot.in> | 2024-10-16 16:18:13 +0530 |
---|---|---|
committer | Biswakalyan Bhuyan <biswa@surgot.in> | 2024-10-16 16:18:13 +0530 |
commit | 89ccd1e2597ed77c985c49dc075f7a038ec6a5d1 (patch) | |
tree | cf6ce6c09d6fce661910d26cef7b00d5f1b3f88e /src/screens | |
parent | 9543c0d11bae0ddf7d19df0e2ee8c11600297735 (diff) | |
download | mall-app-89ccd1e2597ed77c985c49dc075f7a038ec6a5d1.tar.gz mall-app-89ccd1e2597ed77c985c49dc075f7a038ec6a5d1.tar.bz2 mall-app-89ccd1e2597ed77c985c49dc075f7a038ec6a5d1.zip |
Add MallSelectionScreen with vendor selection 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; |