bigbluebutton-tablet/App.tsx

22 lines
623 B
TypeScript
Raw Normal View History

2022-02-17 01:10:13 +08:00
import 'react-native-gesture-handler';
import * as React from 'react';
2022-02-16 07:55:10 +08:00
2022-02-25 03:03:28 +08:00
import { StyleSheet, Platform, LogBox } from 'react-native';
2022-02-17 01:10:13 +08:00
import { Routes } from './react-native/app/routes/component';
2022-02-25 03:03:28 +08:00
import { PortalContextContainer } from './react-native/app/contexts/portals/container';
2022-02-16 07:55:10 +08:00
export default function App() {
2022-02-25 03:03:28 +08:00
React.useEffect(()=>{
LogBox.ignoreLogs([
"[react-native-gesture-handler] Seems like you\'re using an old API with gesture components, check out new Gestures system!",
]);
})
2022-02-16 07:55:10 +08:00
return (
2022-02-17 01:10:13 +08:00
<>
2022-02-25 03:03:28 +08:00
<PortalContextContainer>
2022-02-17 01:10:13 +08:00
<Routes/>
2022-02-25 03:03:28 +08:00
</PortalContextContainer>
2022-02-17 01:10:13 +08:00
</>
2022-02-16 07:55:10 +08:00
);
}