u
This commit is contained in:
1 parent
c265ea736b
commit
88d13eb3d0
9 files changed
+1142
-76
No files matched your search
@@ -0,0 +1,28 @@
|
||||
import { Stack } from 'expo-router'
|
||||
import { StyleSheet } from 'react-native'
|
||||
|
||||
export default function Layout() {
|
||||
return (
|
||||
<Stack
|
||||
screenOptions={{
|
||||
headerTitleAlign: 'center',
|
||||
animation: 'simple_push',
|
||||
}}
|
||||
>
|
||||
<Stack.Screen
|
||||
name="index"
|
||||
options={{
|
||||
headerShown: false, // 首页不显示 title
|
||||
}}
|
||||
/>
|
||||
{/* 其他页面可以在这里添加 */}
|
||||
</Stack>
|
||||
)
|
||||
}
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
flex: 1,
|
||||
backgroundColor: 'black',
|
||||
},
|
||||
})
|
||||
Reference in new issue
Block a user