ソースを参照

Document dotIndicator (#5303)

Guy Carmeli 5 年 前
コミット
6a253c1600
No account linked to committer's email address
共有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',