Skip to content

Commit

Permalink
feat: Add settings screens and related components for React Native cl…
Browse files Browse the repository at this point in the history
…ient
  • Loading branch information
noriega2112 committed Aug 28, 2024
1 parent 41404f0 commit 166e0ed
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { Main } from '@screens/main'
import { Auth } from '@screens/auth/auth'
import { DashboardScreen } from '@screens/dashboard'
import { ComponentsPreview } from '@screens/ComponentsPreview'
import { ContactUs, EditProfile, Settings } from '@screens/settings'

// Default options - forcing a mobile trigger
export const screenDefaultOptions = (): NativeStackNavigationOptions => ({
Expand All @@ -29,10 +30,11 @@ export const tabDefaultOptions = (): BottomTabNavigationOptions => ({
})
// NAVIO
export const navio = Navio.build({
screens: { Auth, Login, SignUp, Main, DashboardScreen, ComponentsPreview },
screens: { Auth, Login, SignUp, Main, DashboardScreen, ComponentsPreview, Settings, ContactUs, EditProfile },
stacks: {
AuthStack: ['Auth'],
MainStack: ['DashboardScreen'],
SettingsStack: ['Settings', 'ContactUs', 'EditProfile'],
/**
* Set me as the root to see the components preview
*/
Expand Down

0 comments on commit 166e0ed

Please sign in to comment.