color | "dark" | "light" | "dark-static" | "light-static" | "neutral" | "violet" | "green" | "blue" | "teal" | "lilac" | "navy" | "orange" | "red" | "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. |