mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
29 lines
519 B
Markdown
29 lines
519 B
Markdown
# Badge
|
|
I bet you have seen it and know how it should be applied.
|
|
## Demos
|
|
```demo
|
|
basic
|
|
type
|
|
processing
|
|
show-zero
|
|
overflow
|
|
manual
|
|
custom-content
|
|
raw
|
|
```
|
|
## 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|
|
|
|-|-|-|
|
|
|default|`()`||
|