25 lines
519 B
TypeScript
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>
|
|
);
|
|
}
|