BarberFlow/barber-flow/app/[slug]/(auth)/_layout.tsx

20 lines
639 B
TypeScript

import { Stack } from 'expo-router';
import { COLORS } from '../../../constants/theme';
export default function AuthLayout() {
return (
<Stack
screenOptions={{
headerShown: false,
contentStyle: { backgroundColor: COLORS.background },
animation: 'slide_from_right',
}}
>
<Stack.Screen name="login" options={{ headerShown: false }} />
<Stack.Screen name="register" options={{ headerShown: false }} />
<Stack.Screen name="forgot-password" options={{ headerShown: false }} />
<Stack.Screen name="language-selection" options={{ headerShown: false }} />
</Stack>
);
}