bagsy/apps/mobile/app/(auth)/_layout.tsx

25 lines
519 B
TypeScript

import { Stack } from 'expo-router';
/**
* Auth stack layout
* Shows authentication screens for unauthenticated users
*/
export default function AuthLayout() {
return (
<Stack
screenOptions={{
headerShown: false,
}}
>
<Stack.Screen
name="sign-in"
options={{
animationTypeForReplace: 'pop',
}}
/>
<Stack.Screen name="sign-up" />
<Stack.Screen name="passkey-prompt" />
<Stack.Screen name="household" />
</Stack>
);
}