Skip to content

Instantly share code, notes, and snippets.

@alperbayram
Last active December 15, 2023 08:40
Show Gist options
  • Save alperbayram/93f1f5ea1b25b08ea871206b60c17c1f to your computer and use it in GitHub Desktop.
Save alperbayram/93f1f5ea1b25b08ea871206b60c17c1f 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}>
<Text style={styles.title}>index</Text>
<View>
<Text style={styles.subtitle}>app/index.tsx</Text>
</View>
<View style={styles.screencontainer}>
<Link href="/users">
<Text style={styles.linktitle}>users</Text>
</Link>
<Link href="/settings">
<Text style={styles.linktitle}>settings</Text>
</Link>
</View>
</View>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment