From 80b544f27094817ff51d786732fcc09e5fdf4f7f Mon Sep 17 00:00:00 2001 From: gustavo-em Date: Wed, 16 Feb 2022 14:10:13 -0300 Subject: [PATCH] implement prototipe of navigate --- App.tsx | 13 +++---- .../app/pages/list_portals/component.js | 12 ++++++ react-native/app/routes/component.js | 37 +++++++++++++++++++ react-native/bootstrap/start/component.js | 8 ++-- 4 files changed, 59 insertions(+), 11 deletions(-) create mode 100644 react-native/app/pages/list_portals/component.js create mode 100644 react-native/app/routes/component.js diff --git a/App.tsx b/App.tsx index 2c1be27..40949c4 100644 --- a/App.tsx +++ b/App.tsx @@ -1,19 +1,16 @@ +import 'react-native-gesture-handler'; import * as React from 'react'; import {StyleSheet, View, Platform, SafeAreaView} from 'react-native'; import {BigbluebuttonMobile} from 'bigbluebutton-mobile-sdk'; import { Bootstrap } from './react-native/bootstrap/start/component'; +import { Routes } from './react-native/app/routes/component'; export default function App() { return ( - - {/* */} - - + <> + + ); } diff --git a/react-native/app/pages/list_portals/component.js b/react-native/app/pages/list_portals/component.js new file mode 100644 index 0000000..7050705 --- /dev/null +++ b/react-native/app/pages/list_portals/component.js @@ -0,0 +1,12 @@ +import React from 'react' +import { Text, View } from 'react-native'; + +export const ListPortals = ()=>{ + return ( + <> + + List + + + ) +} \ No newline at end of file diff --git a/react-native/app/routes/component.js b/react-native/app/routes/component.js new file mode 100644 index 0000000..de02eef --- /dev/null +++ b/react-native/app/routes/component.js @@ -0,0 +1,37 @@ +import * as React from 'react'; +import { Button, View } from 'react-native'; +import { createDrawerNavigator } from '@react-navigation/drawer'; +import { NavigationContainer } from '@react-navigation/native'; +import { ListPortals } from '../pages/list_portals/component'; + +function NotificationsScreen({ navigation }) { + return ( + +