summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/components/index.ts1
-rw-r--r--app/navigators/main-navigator.tsx10
-rw-r--r--app/screens/index.ts1
3 files changed, 8 insertions, 4 deletions
diff --git a/app/components/index.ts b/app/components/index.ts
index 5ed4a28..9feec07 100644
--- a/app/components/index.ts
+++ b/app/components/index.ts
@@ -10,3 +10,4 @@ export * from "./text/text"
export * from "./text-field/text-field"
export * from "./wallpaper/wallpaper"
export * from "./auto-image/auto-image"
+export * from "./graph/graph"
diff --git a/app/navigators/main-navigator.tsx b/app/navigators/main-navigator.tsx
index 9ad110a..d8dc634 100644
--- a/app/navigators/main-navigator.tsx
+++ b/app/navigators/main-navigator.tsx
@@ -6,7 +6,7 @@
*/
import React from "react"
import { createStackNavigator } from "@react-navigation/stack"
-import { WelcomeScreen, DemoScreen, DemoListScreen } from "../screens"
+import { WelcomeScreen, DemoScreen, DemoListScreen, GraphScreen } from "../screens"
/**
* This type allows TypeScript to know what routes are defined in this navigator
@@ -24,6 +24,7 @@ export type PrimaryParamList = {
welcome: undefined
demo: undefined
demoList: undefined
+ graph: undefined
}
// Documentation: https://reactnavigation.org/docs/stack-navigator/
@@ -37,14 +38,15 @@ export function MainNavigator() {
headerShown: false,
}}
>
- <Stack.Screen name="welcome" component={WelcomeScreen} />
- <Stack.Screen name="demo" component={DemoScreen} />
- <Stack.Screen name="demoList" component={DemoListScreen} />
+ <Stack.Screen name="graph" component={GraphScreen}/>
</Stack.Navigator>
)
}
/**
+ <Stack.Screen name="welcome" component={WelcomeScreen} />
+ <Stack.Screen name="demo" component={DemoScreen} />
+ <Stack.Screen name="demoList" component={DemoListScreen} />
* A list of routes from which we're allowed to leave the app when
* the user presses the back button on Android.
*
diff --git a/app/screens/index.ts b/app/screens/index.ts
index 17c8ade..96fcc0b 100644
--- a/app/screens/index.ts
+++ b/app/screens/index.ts
@@ -2,3 +2,4 @@ export * from "./welcome/welcome-screen"
export * from "./demo/demo-screen"
export * from "./demo/demo-list-screen"
// export other screens here
+export * from "./graph/graph-screen"