How to use the react-native-webview.extraNativeComponentConfig function in react-native-webview

To help you get started, we’ve selected a few react-native-webview examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github flow-typed / flow-typed / definitions / npm / react-native-webview_v5.x.x / flow_v0.88.x- / test_react-native-webview.js View on Github external
it('should passes when use properly', () => {
    WebView.extraNativeComponentConfig();

    (instanceWebView.goBack(): void);
    (instanceWebView.goForward(): void);
    (instanceWebView.reload(): void);
    (instanceWebView.stopLoading(): void);
    (instanceWebView.injectJavaScript('alert(1);'): void);
  });

react-native-webview

React Native WebView component for iOS, Android, macOS, and Windows

MIT
Latest version published 19 days ago

Package Health Score

95 / 100
Full package analysis