fix(types): Export WebViewMessageEvent, WebViewNavigation for external use (#855)

This commit is contained in:
Tommy Nguyen 2019-09-09 16:53:35 +02:00 committed by Thibault Malbranche
parent 0466dfff17
commit be027dad1f
1 changed files with 2 additions and 0 deletions

2
index.d.ts vendored
View File

@ -2,6 +2,8 @@ import { Component } from 'react';
// eslint-disable-next-line
import { IOSWebViewProps, AndroidWebViewProps } from './lib/WebViewTypes';
export { WebViewMessageEvent, WebViewNavigation } from "./lib/WebViewTypes";
export type WebViewProps = IOSWebViewProps & AndroidWebViewProps;
declare class WebView extends Component<WebViewProps> {