export default function RootLayout() {
return (
<ThemeProvider value={colorScheme === 'dark' ? DarkTheme : DefaultTheme}>
<Stack initialRouteName="Welcome">
<Stack.Screen name="Welcome" options={{headerShown: false}} />
<Stack.Screen name="LoginScreen" options={{headerShown: false}} />
<Stack.Screen name="Signup" options={{headerShown: false}} />
<Stack.Screen name="(tabs)" options={{ headerShown: false }} />
<Stack.Screen name="+not-found" />
</Stack>
</ThemeProvider>
);
}
I want to make the Welcome.tsx the default view to be opened when the app is newly opened, please help me
New contributor
Rolando Cleofas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.