color
| darklightdark-staticlight-staticneutralvioletgreenblueteallilacnavyorangeredDefault: "neutral"
| The color of the badge. |
isDisabled
| boolean
| Whether the badge is disabled. |
children
| ReactNode
| |
wrapWith
| ReactElement<unknown, string | JSXElementConstructor<any>>
| |
ref
| Ref<HTMLSpanElement>
| Allows getting a ref to the component instance.
Once the component unmounts, React will set `ref.current` to `null`
(or call the ref with `null` if you passed a callback ref).
@see React Docs |
key
| Key
| |
className
| string
| The elements class name. |