/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* Generated with the TypeScript template
* https://github.com/react-native-community/react-native-template-typescript
*
* @format
*/
import React from 'react'
import { SafeAreaView, StyleSheet, ScrollView, View, Text, StatusBar } from 'react-native'
import SplashScreen from 'react-native-splash-screen'
import {
Header,
LearnMoreLinks,
Colors,
DebugInstructions,
ReloadInstructions,
} from 'react-native/Libraries/NewAppScreen'
const WelcomeScreen = () => {
React.useEffect(() => {
SplashScreen.hide()
}, [])
return (
<>
{global.HermesInternal == null ? null : (
Engine: Hermes
)}
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({
body: {
backgroundColor: Colors.white,
},
engine: {
position: 'absolute',
right: 0,
},
footer: {
color: Colors.dark,
fontSize: 12,
fontWeight: '600',
padding: 4,
paddingRight: 12,
textAlign: 'right',
},
highlight: {
fontWeight: '700',
},
scrollView: {
backgroundColor: Colors.lighter,
},
sectionContainer: {
marginTop: 32,
paddingHorizontal: 24,
},
sectionDescription: {
color: Colors.dark,
fontSize: 18,
fontWeight: '400',
marginTop: 8,
},
sectionTitle: {
color: Colors.black,
fontSize: 24,
fontWeight: '600',
},
})
export default WelcomeScreen