浏览代码

Document dotIndicator (#5303)

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

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

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