naive-ui/demo/documentation/components/badge/enUS/index.md
2020-01-30 15:57:20 +08:00

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|`()`||