15 lines
418 B
TypeScript
15 lines
418 B
TypeScript
// app/(auth)/_layout.tsx
|
|
import { RegisterProvider } from '@/screens/auth/register/lib/useRegisterStore';
|
|
import { Slot } from 'expo-router';
|
|
import { GestureHandlerRootView } from 'react-native-gesture-handler';
|
|
|
|
export default function AuthLayout() {
|
|
return (
|
|
<GestureHandlerRootView style={{ flex: 1 }}>
|
|
<RegisterProvider>
|
|
<Slot />
|
|
</RegisterProvider>
|
|
</GestureHandlerRootView>
|
|
)
|
|
}
|