diff --git a/App.tsx b/App.tsx index 32cb8f69..9c39fa00 100644 --- a/App.tsx +++ b/App.tsx @@ -4,48 +4,96 @@ * * Generated with the TypeScript template * https://github.com/emin93/react-native-template-typescript - * + * * @format */ -import React, {Component} from 'react'; -import {Platform, StyleSheet, Text, View} from 'react-native'; +import React, {Fragment} from 'react'; +import { + SafeAreaView, + StyleSheet, + ScrollView, + View, + Text, + StatusBar, +} from 'react-native'; -const instructions = Platform.select({ - ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu', - android: - 'Double tap R on your keyboard to reload,\n' + - 'Shake or press menu button for dev menu', -}); +import { + Header, + LearnMoreLinks, + Colors, + DebugInstructions, + ReloadInstructions, +} from 'react-native/Libraries/NewAppScreen'; -interface Props {} -export default class App extends Component { - render() { - return ( - - Welcome to React Native! - To get started, edit App.tsx - {instructions} - - ); - } -} +const App = () => { + return ( + + + + +
+ + + Step One + + Edit App.tsx 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 styles = StyleSheet.create({ - container: { - flex: 1, - justifyContent: 'center', - alignItems: 'center', - backgroundColor: '#F5FCFF', + scrollView: { + backgroundColor: Colors.lighter, + }, + body: { + backgroundColor: Colors.white, + }, + sectionContainer: { + marginTop: 32, + paddingHorizontal: 24, }, - welcome: { - fontSize: 20, - textAlign: 'center', - margin: 10, + sectionTitle: { + fontSize: 24, + fontWeight: '600', + color: Colors.black, }, - instructions: { - textAlign: 'center', - color: '#333333', - marginBottom: 5, + sectionDescription: { + marginTop: 8, + fontSize: 18, + fontWeight: '400', + color: Colors.dark, }, -}); \ No newline at end of file + highlight: { + fontWeight: '700', + }, +}); + +export default App;