import { H2 } from '@expo/html-elements';
import * as React from 'react';
import { ActivityIndicator, StyleSheet, View, ScrollView } from 'react-native';
import { WebView } from 'react-native-webview';
interface MessageEvent {
nativeEvent: {
data: string;
};
}
const injectedJavaScript = `window.ReactNativeWebView.postMessage(JSON.stringify(window.location));`;
export default function WebViewScreen() {
return (
Remote Source
Inline Source
But don't the other components above seem like better building blocks for most of your UI?