template_0205

This commit is contained in:
Sofio
2026-02-05 13:16:05 +08:00
commit d93e4d9c9f
197 changed files with 52810 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
---
destinationDir: app/navigators
---
import { createNativeStackNavigator } from "@react-navigation/native-stack"
import { WelcomeScreen } from "@/screens/WelcomeScreen"
export type <%= props.pascalCaseName %>NavigatorParamList = {
Demo: undefined
}
const Stack = createNativeStackNavigator<<%= props.pascalCaseName %>NavigatorParamList>()
export const <%= props.pascalCaseName %>Navigator = () => {
return (
<Stack.Navigator screenOptions={{ cardStyle: { backgroundColor: "transparent" }, headerShown: false, }}>
<Stack.Screen name="Demo" component={WelcomeScreen} />
</Stack.Navigator>
)
}