mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-30 12:52:43 +08:00
31 lines
638 B
Markdown
31 lines
638 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|
|
|
|-|-|-|-|
|
|
|theme|`'light' \| 'dark' \| null \| string`|`null`||
|
|
|themed-style|`{ [themeName: string]: Object } \| null`|`null`||
|
|
|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|`()`||
|