Commit 8a1cf016 authored by 7056117's avatar 7056117
Browse files

no message

parent ca5791b2
import * as React from 'react';
import { StyleSheet, Text, View, TouchableOpacity, ScrollView } from 'react-native';
import { NavigationContainer } from '@react-navigation/native';
import { NavigationContainer, useNavigation } from '@react-navigation/native';
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs';
import { MaterialCommunityIcons } from '@expo/vector-icons';
import { SafeAreaView } from 'react-native-safe-area-context';
import Icon from "react-native-vector-icons/AntDesign";
import { createStackNavigator } from '@react-navigation/stack';
//view for the information screen
export default function Information() {
const navigation = useNavigation();
return (
<SafeAreaView style={style.container}>
<View style={style.IHeader}>
......@@ -29,7 +33,9 @@ export default function Information() {
<Icon name='right' size={19} color='#767577'/>
</Text>
</TouchableOpacity>
<TouchableOpacity>
<TouchableOpacity
onPress={() => navigation.navigate('Contact')}
>
<Text style={[style.title, {paddingTop:15}]}>Contact
<Icon name='right' size={19} color='#767577'/>
</Text>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment