Browse Source

Added flow type

Thibault Malbranche 5 years ago
parent
commit
10054e10ab
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      js/WebViewTypes.js

+ 6
- 0
js/WebViewTypes.js View File

@@ -232,6 +232,12 @@ export type AndroidWebViewProps = $ReadOnly<{|
232 232
    */
233 233
   allowUniversalAccessFromFileURLs?: ?boolean,
234 234
 
235
+  /**
236
+   * Sets whether the webview allow access to file system.
237
+   * @platform android
238
+   */
239
+  allowFileAccess: ?boolean,
240
+
235 241
   /**
236 242
    * Used on Android only, controls whether form autocomplete data should be saved
237 243
    * @platform android