2019-10-08 19:06:23 +08:00
|
|
|
# Badge
|
2020-01-27 18:03:10 +08:00
|
|
|
I bet you have seen it and know how it should be applied.
|
|
|
|
## Demos
|
2019-10-08 19:06:23 +08:00
|
|
|
```demo
|
|
|
|
basic
|
2019-10-09 17:38:08 +08:00
|
|
|
type
|
|
|
|
processing
|
|
|
|
show-zero
|
|
|
|
overflow
|
|
|
|
manual
|
|
|
|
custom-content
|
2019-11-13 00:02:42 +08:00
|
|
|
raw
|
2020-01-27 18:03:10 +08:00
|
|
|
```
|
|
|
|
## Props
|
|
|
|
|Name|Type|Default|Description|
|
|
|
|
|-|-|-|-|
|
|
|
|
|value|`string \| number`|`null`||
|
|
|
|
|max|`number`|`null`||
|
|
|
|
|dot|`boolean`|`false`||
|
|
|
|
|type|`'default' \| 'success' \| 'error' \| 'warning' \| 'info'`|`'default'`||
|
|
|
|
|show|`boolean`|`true`||
|
|
|
|
|show-zero|`boolean`|`false`||
|
|
|
|
|processing|`boolean`|`false`||
|
|
|
|
|
|
|
|
## Slots
|
|
|
|
|Name|Parameters|Description|
|
|
|
|
|-|-|-|
|
2020-01-30 15:57:20 +08:00
|
|
|
|default|`()`||
|