Skip to content

Instantly share code, notes, and snippets.

@alperbayram
Created April 7, 2024 10:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alperbayram/0a93a1e4f4c52f592b49ab9b01623f14 to your computer and use it in GitHub Desktop.
Save alperbayram/0a93a1e4f4c52f592b49ab9b01623f14 to your computer and use it in GitHub Desktop.
(drawer)/profile.tsx
import { View, Text } from "react-native";
import { styles } from "../../../styles/styles";
import { Link } from "expo-router";
export default function Page() {
return (
<View style={styles.container}>
<View>
<Text style={styles.subtitle}>app/(drawer)/profile.tsx</Text>
</View>
<Link href="/">
<Text style={styles.linktitle}>logout</Text>
</Link>
</View>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment