1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- import { Component } from 'react';
-
- import { IOSWebViewProps, AndroidWebViewProps } from './lib/WebViewTypes';
-
- export { FileDownload, WebViewMessageEvent, WebViewNavigation } from "./lib/WebViewTypes";
-
- export type WebViewProps = IOSWebViewProps & AndroidWebViewProps;
-
- declare class WebView<P = {}> extends Component<WebViewProps & P> {
-
-
- goBack: () => void;
-
-
-
- goForward: () => void;
-
-
-
- reload: () => void;
-
-
-
- stopLoading(): void;
-
-
-
- extraNativeComponentConfig: () => any;
-
-
-
- injectJavaScript: (script: string) => void;
-
-
-
- requestFocus: () => void;
-
-
-
- postMessage: (message: string) => void;
-
-
-
- clearFormData: () => void;
-
-
-
- clearCache: (clear: boolean) => void;
-
-
-
- clearHistory: () => void;
- }
-
- export {WebView};
- export default WebView;
|