BadgeProps
同时支持以下类型的全部属性: React.ComponentProps<"span">
| 属性 | 类型 | 默认值 | 说明 |
|---|
| variant | BadgeVariant | "default" | — |
|---|
| size | BadgeSize | "md" | — |
|---|
| dot | boolean | false | Leading status dot |
|---|
| onRemove | () => void | — | Shows an x button that calls this handler |
|---|
| removeLabel | string | "Remove" | — |
|---|