Created
August 16, 2023 15:22
-
-
Save tanner-west/e92b33fdfb4760ba9dafad04c092206f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import {SafeAreaView, Text} from 'react-native'; | |
import {requireNativeComponent} from 'react-native'; | |
const TextView = requireNativeComponent('RNTTextView'); | |
function App(): JSX.Element { | |
return ( | |
<SafeAreaView style={{flex: 1}}> | |
<Text>Hello, React Native</Text> | |
<TextView style={{flex: 1}} /> | |
</SafeAreaView> | |
); | |
} | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment