浏览代码

Document dotIndicator (#5303)

Guy Carmeli 5 年前
父节点
当前提交
6a253c1600
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5
    0
      docs/docs/styling.md

+ 5
- 0
docs/docs/styling.md 查看文件

@@ -118,6 +118,11 @@ Navigation.mergeOptions(this.props.componentId, {
118 118
     text: 'Tab 1',
119 119
     badge: '2',
120 120
     badgeColor: 'red',
121
+    dotIndicator: {
122
+      color: 'green', // default red
123
+      size: 8, // default 6
124
+      visible: true // default false
125
+    }
121 126
     testID: 'bottomTabTestID',
122 127
     icon: require('tab.png'),
123 128
     iconColor: 'red',