diff --git a/typings/index.d.ts b/typings/index.d.ts index 5a21fd9..5f7f326 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -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 { public goBack: () => void; public reload: () => void; public stopLoading: () => void; + public injectJavaScript: (js: string) => void }