Browse Source

fix startInLoadingState to boolean in typing

KaFai Choi 6 years ago
parent
commit
cf8a918450
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      typings/index.d.ts

+ 1
- 1
typings/index.d.ts View File

@@ -374,7 +374,7 @@ export interface WebViewSharedProps extends ViewProps, IOSWebViewProps, AndroidW
374 374
    * Boolean value that forces the `WebView` to show the loading view
375 375
    * on the first load.
376 376
    */
377
-  startInLoadingState?: string;
377
+  startInLoadingState?: boolean;
378 378
 
379 379
   /**
380 380
    * Set this to provide JavaScript that will be injected into the web page