This repository has been archived on 2024-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
p61-project/app/application/habits/[habitId]/index.tsx

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