This commit is contained in:
Philip Cesar Garay
2025-07-31 21:25:33 +08:00
parent 5cfbc81e3a
commit 84fc719a10
307 changed files with 46470 additions and 0 deletions
+53
View File
@@ -0,0 +1,53 @@
import React from "react";
import { createStackNavigator } from "@react-navigation/stack";
import { Palette } from "../styles";
import { Routes } from "./Routes";
import Settings from "../screens/Settings";
import ProjectSettings from "../screens/ProjectSettings";
import AccountSettings from "../screens/AccountSettings";
const screenOptions = {
headerShown: false,
cardOverlayEnabled: true,
headerStyle: {
backgroundColor: Palette.background,
},
headerTitleAlign: "center",
headerBackTitleVisible: false,
};
const HomeStack = createStackNavigator();
export default () => {
return (
<HomeStack.Navigator
initialRouteName={Routes.Settings}
screenOptions={[
{
contentStyle: {
backgroundColor: Palette.white,
},
},
screenOptions,
]}
>
<HomeStack.Screen
name={Routes.Settings}
component={Settings}
options={{ headerShown: false }}
/>
<HomeStack.Screen
name={Routes.ProjectSettings}
component={ProjectSettings}
options={{ headerShown: false }}
/>
<HomeStack.Screen
name={Routes.AccountSettings}
component={AccountSettings}
options={{ headerShown: false }}
/>
</HomeStack.Navigator>
);
};