Skip to main content

Badges

Now you know how to layout and select badges basing on status but how far can we push this

We have cute little component where you just push in status and the color for each status badge and let the magic happens

<StringToStatusBadge
status={ii.eb_status}
statusList={{
Cancelled: "RED",
Paid: "GREEN",
Pending: "YELLOW",
Due: "MUTED",
}}
/>