MCPcopy Create free account
hub / github.com/a7medev/react-native-ml-kit / HomeScreen

Function HomeScreen

example/src/core/HomeScreen.tsx:7–30  ·  view source on GitHub ↗
({navigation}: NativeStackScreenProps<ParamList>)

Source from the content-addressed store, hash-verified

5import type {ParamList} from '../App';
6
7const HomeScreen = ({navigation}: NativeStackScreenProps<ParamList>) => {
8 return (
9 <View>
10 <Text style={styles.title}>React Native ML Kit</Text>
11
12 <ListTile
13 title="Text Recognition"
14 onPress={() => navigation.navigate('TextRecognition')}
15 />
16 <ListTile
17 title="Barcode Scanning"
18 onPress={() => navigation.navigate('BarcodeScanning')}
19 />
20 <ListTile
21 title="Face Detection"
22 onPress={() => navigation.navigate('FaceDetection')}
23 />
24 <ListTile
25 title="Image Labeling"
26 onPress={() => navigation.navigate('ImageLabeling')}
27 />
28 </View>
29 );
30};
31
32const styles = StyleSheet.create({
33 title: {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected