fix(types): export WebViewProps for external use (#457)

This commit is contained in:
James Cleveland 2019-03-27 08:25:59 +00:00 committed by Thibault Malbranche
parent 59443a1093
commit ef709aa82b
1 changed files with 3 additions and 1 deletions

4
index.d.ts vendored
View File

@ -2,7 +2,9 @@ import { Component } from 'react';
// eslint-disable-next-line
import { IOSWebViewProps, AndroidWebViewProps } from './lib/WebViewTypes';
declare class WebView extends Component<IOSWebViewProps & AndroidWebViewProps> {
export type WebViewProps = IOSWebViewProps & AndroidWebViewProps;
declare class WebView extends Component<WebViewProps> {
/**
* Go back one page in the webview's history.
*/