瀏覽代碼

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

Jian Wei 5 年之前
父節點
當前提交
a364d3ed67
共有 1 個檔案被更改,包括 12 行新增0 行删除
  1. 12
    0
      typings/index.d.ts

+ 12
- 0
typings/index.d.ts 查看文件

@@ -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
 }