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
|