Explorar el Código

fix(types): Add new cacheEnabled prop to typescript prop type declarations (#335)

Thea Lanherne hace 5 años
padre
commit
ff62c956e3
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6
    0
      typings/index.d.ts

+ 6
- 0
typings/index.d.ts Ver fichero

@@ -437,6 +437,12 @@ export interface WebViewSharedProps extends ViewProps, IOSWebViewProps, AndroidW
437 437
    */
438 438
   originWhitelist?: string[];
439 439
 
440
+  /**
441
+   * Boolean value that determines whether caching is enabled in the
442
+   * `WebView`. The default value is `true` - i.e. caching is *enabled by default*
443
+   */
444
+  cacheEnabled?: boolean,
445
+
440 446
   /**
441 447
    * Override the native component used to render the WebView. Enables a custom native
442 448
    * WebView which uses the same JavaScript as the original WebView.