mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-02-11 13:10:26 +08:00
845 B
845 B
Badge
I bet you have seen it and know how it should be applied.
Demos
basic
type
processing
show-zero
overflow
manual
custom-content
raw
Props
Name | Type | Default | Description |
---|---|---|---|
color | string |
undefined |
|
dot | boolean |
false |
|
max | number |
undefined |
|
processing | boolean |
false |
|
show-zero | boolean |
false |
|
show | boolean |
true |
|
themed-style | { [themeName: string]: Object } |
undefined |
|
theme | 'light' | 'dark' | string |
undefined |
|
type | 'default' | 'success' | 'error' | 'warning' | 'info' |
'default' |
|
value | string | number |
undefined |
Slots
Name | Parameters | Description |
---|---|---|
default | () |