Browse Source

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

Tommy Nguyen 5 years ago
parent
commit
be027dad1f
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      index.d.ts

+ 2
- 0
index.d.ts View File

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