I was trying to create a signup page. I Donot want to show the header in signup page.
My project structure is
the layout file content is given below
import { Stack } from "expo-router";
const RootLayout = () => {
return (
<Stack>
<Stack.Screen name="index" options={{ headerShown: false }} />
<Stack.Screen name="(admin)" options={{ headerShown: false }} />
<Stack.Screen name="(auth)" options={{ headerShown: false }} />
</Stack>
);
};
export default RootLayout;
THe header is still showing