Browse Source

fix(types): add showScrollIndicator prop to type file (#388)

Jian Wei 5 years ago
parent
commit
a364d3ed67
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      typings/index.d.ts

+ 12
- 0
typings/index.d.ts View File

@@ -449,6 +449,18 @@ export interface WebViewSharedProps extends ViewProps, IOSWebViewProps, AndroidW
449 449
    */
450 450
   nativeConfig?: WebViewNativeConfig;
451 451
 
452
+  /**
453
+   * A Boolean value that controls whether the horizontal scroll indicator is visible
454
+   * The default value is `true`.
455
+   */
456
+  showsHorizontalScrollIndicator?: boolean;
457
+
458
+  /**
459
+   * A Boolean value that controls whether the vertical scroll indicator is visible
460
+   * The default value is `true`
461
+   */
462
+  showsVerticalScrollIndicator?: boolean;
463
+
452 464
   style?: StyleProp<ViewStyle>;
453 465
   children?: ReactNode;
454 466
 }