No Description

App.tsx 422B

123456789101112131415161718
  1. import React from 'react';
  2. import {SafeAreaView, StyleSheet} from 'react-native';
  3. import {WebView} from 'react-native-webview';
  4. const styles = StyleSheet.create({
  5. container: {flex: 1, backgroundColor: '#20232a'},
  6. });
  7. const App = () => {
  8. return (
  9. <SafeAreaView style={styles.container}>
  10. <WebView source={{uri: 'https://facebook.github.io/react-native/'}} />
  11. </SafeAreaView>
  12. );
  13. };
  14. export default App;