UNPKG

react-native-webview

Version:

React Native WebView component for iOS, Android, macOS, and Windows

11 lines (8 loc) 315 B
import { requireNativeComponent } from "react-native"; import type { NativeWebViewWindows } from "./WebViewTypes"; export const RCTWebView: typeof NativeWebViewWindows = requireNativeComponent( 'RCTWebView', ); export const RCTWebView2: typeof NativeWebViewWindows = requireNativeComponent( 'RCTWebView2', );