/** * WebView.tsx * * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT license. * * A control that allows the display of an independent web page. */ import * as React from 'react'; import { WebView as RNWebView } from 'react-native-webview'; import { WebViewMessageEvent as RNWebViewMessageEvent } from 'react-native-webview/lib/WebViewTypes'; import * as RX from 'reactxp'; import * as Types from '../common/Types'; export declare class WebView extends React.Component implements Types.WebView { private _mountedComponent; render(): JSX.Element; private _sandboxToMixedContentMode; protected _onMount: (component: RNWebView | null) => void; protected _onMessage: (e: RNWebViewMessageEvent) => void; private _buildSource; private _buildInjectedJavascript; postMessage(message: string, targetOrigin?: string): void; reload(): void; goBack(): void; goForward(): void; } export default WebView;