Skip to content

Instantly share code, notes, and snippets.

@alperbayram
Created April 7, 2024 11:33
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/1d496f12c9379702ee7b825d67b27afc to your computer and use it in GitHub Desktop.
Save alperbayram/1d496f12c9379702ee7b825d67b27afc to your computer and use it in GitHub Desktop.
app/index.tsx
import { View, Text } from "react-native";
import { Link } from "expo-router";
import { styles } from "../styles/styles";
export default function Page() {
return (
<View style={styles.container}>
<View>
<Text style={styles.subtitle}>app/index.tsx</Text>
</View>
<View style={styles.screencontainer}>
<Link href="/(drawer)/profile">
<Text style={styles.linktitle}>login</Text>
</Link>
</View>
</View>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment