naive-ui/demo/documentation/components/badge/enUS/index.demo-entry.md
2020-09-10 14:18:02 +08:00

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