resourcing tabs
deskripsi: - coba tabs
This commit is contained in:
19
app/(application)/home/index.tsx
Normal file
19
app/(application)/home/index.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import { Text, View } from "react-native";
|
||||
import { useEffect } from "react";
|
||||
import { useNavigation } from "expo-router";
|
||||
|
||||
export default function Home() {
|
||||
const navigation = useNavigation();
|
||||
|
||||
useEffect(() => {
|
||||
navigation.setOptions({
|
||||
headerShown: false,
|
||||
});
|
||||
}, [navigation]);
|
||||
|
||||
return (
|
||||
<View>
|
||||
<Text>Home</Text>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user