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

This commit is contained in:
Thea Lanherne
2019-02-11 22:51:44 +01:00
committed by Thibault Malbranche
parent 80efc3155c
commit ff62c956e3
+6
View File
@@ -437,6 +437,12 @@ export interface WebViewSharedProps extends ViewProps, IOSWebViewProps, AndroidW
*/
originWhitelist?: string[];
/**
* Boolean value that determines whether caching is enabled in the
* `WebView`. The default value is `true` - i.e. caching is *enabled by default*
*/
cacheEnabled?: boolean,
/**
* Override the native component used to render the WebView. Enables a custom native
* WebView which uses the same JavaScript as the original WebView.