mirror of
https://github.com/kennethnym/aris.git
synced 2026-03-20 09:01:19 +00:00
- Expo SDK 54 / React Native 0.81 with expo-router - Tailscale devcontainer feature for direct device connectivity - Dev proxy for React Native DevTools access over Tailscale - EAS build configuration for development/preview/production - Ona automation for Expo dev server Co-authored-by: Ona <no-reply@ona.com>
30 lines
662 B
TypeScript
30 lines
662 B
TypeScript
import { Link } from "expo-router"
|
|
import { StyleSheet } from "react-native"
|
|
|
|
import { ThemedText } from "@/components/themed-text"
|
|
import { ThemedView } from "@/components/themed-view"
|
|
|
|
export default function ModalScreen() {
|
|
return (
|
|
<ThemedView style={styles.container}>
|
|
<ThemedText type="title">This is a modal</ThemedText>
|
|
<Link href="/" dismissTo style={styles.link}>
|
|
<ThemedText type="link">Go to home screen</ThemedText>
|
|
</Link>
|
|
</ThemedView>
|
|
)
|
|
}
|
|
|
|
const styles = StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
alignItems: "center",
|
|
justifyContent: "center",
|
|
padding: 20,
|
|
},
|
|
link: {
|
|
marginTop: 15,
|
|
paddingVertical: 15,
|
|
},
|
|
})
|