
StatusBadge
is a component that displays a status text with an indicator in any hex color or one of the predefined color names.
Example
Props
The color of the status badge. Can be any hex color (e.g.,
"#00D17E"
) or one of the predefined
colors: "blue"
, "violet"
, "pink"
, "red"
, "orange"
, "yellow"
, "green"
, "cyan"
, or
"grey"
.The text to display in the status badge as a label.