diff --git a/App.js b/App.js index bb77580..e92986f 100644 --- a/App.js +++ b/App.js @@ -6,109 +6,13 @@ * @flow */ -import React from 'react'; -import { - SafeAreaView, - StyleSheet, - ScrollView, - View, - Text, - StatusBar, -} from 'react-native'; +import React from "react"; -import { - Header, - LearnMoreLinks, - Colors, - DebugInstructions, - ReloadInstructions, -} from 'react-native/Libraries/NewAppScreen'; - -const App: () => React$Node = () => { - return ( - <> - - - -
- {global.HermesInternal == null ? null : ( - - Engine: Hermes - - )} - - - Step One - - Edit App.js to change this - screen and then come back to see your edits. - - - - See Your Changes - - - - - - Debug - - - - - - Learn More - - Read the docs to discover what to do next: - - - - - - - - ); +const App = () => { + return ( + <> + + ); }; -const styles = StyleSheet.create({ - scrollView: { - backgroundColor: Colors.lighter, - }, - engine: { - position: 'absolute', - right: 0, - }, - body: { - backgroundColor: Colors.white, - }, - sectionContainer: { - marginTop: 32, - paddingHorizontal: 24, - }, - sectionTitle: { - fontSize: 24, - fontWeight: '600', - color: Colors.black, - }, - sectionDescription: { - marginTop: 8, - fontSize: 18, - fontWeight: '400', - color: Colors.dark, - }, - highlight: { - fontWeight: '700', - }, - footer: { - color: Colors.dark, - fontSize: 12, - fontWeight: '600', - padding: 4, - paddingRight: 12, - textAlign: 'right', - }, -}); - export default App; diff --git a/index.js b/index.js index a850d03..3b84c46 100644 --- a/index.js +++ b/index.js @@ -2,8 +2,18 @@ * @format */ -import {AppRegistry} from 'react-native'; -import App from './App'; -import {name as appName} from './app.json'; +import React from "react"; +import {AppRegistry} from "react-native"; +import App from "./App"; +import {name as appName} from "./app.json"; +import { Provider } from "react-native-paper"; -AppRegistry.registerComponent(appName, () => App); +export default function Main() { + return ( + + + + ); +} + +AppRegistry.registerComponent(appName, () => Main);