添加标签页布局,创建主页和关于页组件,删除不再使用的索引和模态页

This commit is contained in:
2026-03-09 07:29:14 +07:00
parent 283b29f9a2
commit afb0914db8
6 changed files with 21 additions and 15 deletions

10
app/(tabs)/_layout.tsx Normal file
View File

@@ -0,0 +1,10 @@
import { Tabs } from 'expo-router';
export default function TabLayout() {
return (
<Tabs>
<Tabs.Screen name="index" options={{ title: 'Home' }} />
<Tabs.Screen name="about" options={{ title: 'About' }} />
</Tabs>
);
}