sync doc. ref #12975

This commit is contained in:
zombiej 2018-11-06 14:45:17 +08:00
parent c55d26658d
commit c5a002d44c

View File

@ -24,7 +24,7 @@ Badge normally appears in proximity to notifications or user avatars with eye-ca
| Property | Description | Type | Default | | Property | Description | Type | Default |
| -------- | ----------- | ---- | ------- | | -------- | ----------- | ---- | ------- |
| count | Number to show in badge | number\|ReactNode | | | count | Number to show in badge | ReactNode | |
| dot | Whether to display a red dot instead of `count` | boolean | `false` | | dot | Whether to display a red dot instead of `count` | boolean | `false` |
| offset | set offset of the badge dot, like`[x, y]` | `[number, number]` | - | | offset | set offset of the badge dot, like`[x, y]` | `[number, number]` | - |
| overflowCount | Max count to show | number | 99 | | overflowCount | Max count to show | number | 99 |