feat(Badge): add offset prop

This commit is contained in:
chenjiahan
2021-01-23 16:52:48 +08:00
parent 7a190058ae
commit e0b4636301
4 changed files with 49 additions and 2 deletions
+1
View File
@@ -117,6 +117,7 @@ Use `content` slot to custom :content of badge.
| color | Background color | _string_ | `#ee0a24` |
| dot | Whether to show dot | _boolean_ | `false` |
| max | Max valueshow `{max}+` when exceedonly works when content is number | _number \| string_ | - |
| offset `v3.0.5` | Offset of badge dot | _[number, number]_ | - |
### Slots