瀏覽代碼

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

Jian Wei 6 年之前
父節點
當前提交
a364d3ed67
共有 1 個文件被更改,包括 12 次插入0 次删除
  1. 12
    0
      typings/index.d.ts

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

449
    */
449
    */
450
   nativeConfig?: WebViewNativeConfig;
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
   style?: StyleProp<ViewStyle>;
464
   style?: StyleProp<ViewStyle>;
453
   children?: ReactNode;
465
   children?: ReactNode;
454
 }
466
 }