mirror of
https://github.com/status-im/react-native-webview.git
synced 2026-08-31 11:41:08 +00:00
fix(types): export WebViewProps for external use (#457)
This commit is contained in:
committed by
Thibault Malbranche
parent
59443a1093
commit
ef709aa82b
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