them build pc, account
This commit is contained in:
14
App.tsx
14
App.tsx
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user