1
1
mirror of https://github.com/theoludwig/p61-project.git synced 2024-07-17 07:00:12 +02:00
p61-project/app/application/habits/[habitId]/index.tsx

23 lines
461 B
TypeScript
Raw Normal View History

2024-03-24 23:41:23 +01:00
import { useLocalSearchParams } from "expo-router"
import { Text } from "react-native-paper"
import { SafeAreaView } from "react-native-safe-area-context"
const HabitPage: React.FC = () => {
const { habitId } = useLocalSearchParams()
return (
<SafeAreaView
style={[
{
flex: 1,
alignItems: "center",
},
]}
>
<Text>Habit Page {habitId}</Text>
</SafeAreaView>
)
}
export default HabitPage