UNPKG

universal-portability

Version:

Universal Portability Framework for Web3 Applications

22 lines 649 B
import React from 'react'; import { WebViewMessageEvent } from 'react-native-webview'; interface NativePortProps { source: { uri: string; }; address?: string; rpcUrl?: string; chainId?: number; style?: any; onMessage?: (event: WebViewMessageEvent) => void; onLoad?: () => void; onError?: (error: any) => void; injectedJavaScript?: string; } /** * NativePort is the React Native equivalent of the web Port component. * It uses WebView instead of iframe to embed dApps. */ export declare const NativePort: React.FC<NativePortProps>; export default NativePort; //# sourceMappingURL=NativePort.d.ts.map