aboutsummaryrefslogtreecommitdiffstats
path: root/src/screens/MallSelectionScreen.js
blob: 620abe7f672c887d30e7326f2d4659569468ffa1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;