From c829168f361501cab68fc4171c97542d8013bd7b Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Wed, 14 Jul 2021 17:27:04 +0200 Subject: added random graph with colored edged --- app/navigators/main-navigator.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'app/navigators/main-navigator.tsx') 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, }} > - - - + ) } /** + + + * A list of routes from which we're allowed to leave the app when * the user presses the back button on Android. * -- cgit v1.2.3