them build pc, account

This commit is contained in:
2021-03-19 17:43:53 +07:00
parent e8a10383f5
commit 96fa44ed43
5 changed files with 1138 additions and 103 deletions

14
App.tsx
View File

@@ -24,6 +24,7 @@ import ForgetPassword from './screens/ForgetPassword';
import AboutUs from './screens/AboutUs';
import ContactUs from './screens/ContactUs';
import BuildPc from './screens/BuildPc';
import AccountHome from './screens/AccountHome';
@@ -224,6 +225,18 @@ const BuildPcPage = ({ navigation }: { navigation: any }) => {
);
}
const AccountHomePage = ({ navigation }: { navigation: any }) => {
return (
<Stack.Navigator>
<Stack.Screen
name="homepage"
component={AccountHome}
options={HeaderAllPageOpion}
/>
</Stack.Navigator>
);
}
const MainContentRouter = () => {
return (
<Drawer.Navigator>
@@ -240,6 +253,7 @@ const MainContentRouter = () => {
<Drawer.Screen name="Giới thiệu" component={AboutUsPage} />
<Drawer.Screen name="Liên hệ" component={ContactUsPage} />
<Drawer.Screen name="Xây dựng cấu hình" component={BuildPcPage} />
<Drawer.Screen name="Tài khoản" component={AccountHomePage} />
</Drawer.Navigator>
);
}