15 lines
355 B
TypeScript
15 lines
355 B
TypeScript
import { Text, View } from 'react-native';
|
|
import { useLocalSearchParams, useGlobalSearchParams, Link } from 'expo-router';
|
|
|
|
export default function Route() {
|
|
const glob = useGlobalSearchParams();
|
|
const local = useLocalSearchParams();
|
|
|
|
return (
|
|
<View>
|
|
<Text>Glob: {local.env}</Text>
|
|
<Text>Local: {glob.env}</Text>
|
|
</View>
|
|
);
|
|
}
|