mirror of
https://github.com/theoludwig/p61-project.git
synced 2024-07-17 07:00:12 +02:00
23 lines
461 B
TypeScript
23 lines
461 B
TypeScript
|
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
|