mirror of
https://github.com/status-im/react-native-webview.git
synced 2026-08-31 19:51:10 +00:00
fix(types): Add new cacheEnabled prop to typescript prop type declarations (#335)
This commit is contained in:
committed by
Thibault Malbranche
parent
80efc3155c
commit
ff62c956e3
Vendored
+6
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user