mirror of
https://github.com/expo/react-native-webview.git
synced 2026-11-15 09:18:06 -10:00
fix(types): export WebViewProps for external use (#457)
This commit is contained in:
1 parent
59443a1093
commit
ef709aa82b
1 file changed
+3
-1
Vendored
+3
-1
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user