feat(types): added missing types (#157)

This commit is contained in:
Chet Corcos 2018-11-21 00:45:46 -08:00 committed by Thibault Malbranche
parent 9b70012435
commit f70700df24
1 changed files with 5 additions and 0 deletions

5
typings/index.d.ts vendored
View File

@ -199,6 +199,10 @@ export interface IOSWebViewProps {
* backward compatible.
*/
hideKeyboardAccessoryView?: boolean;
/**
* If true, this will be able horizontal swipe gestures when using the WKWebView. The default value is `false`.
*/
allowsBackForwardNavigationGestures?: boolean
}
export interface AndroidWebViewProps {
@ -417,4 +421,5 @@ export class WebView extends Component<WebViewSharedProps> {
public goBack: () => void;
public reload: () => void;
public stopLoading: () => void;
public injectJavaScript: (js: string) => void
}