Open
Description
Currently there is a lot of redundancy for the components for status badges that share similar logic.
A potential solution would involve creating a more generic badge component that can be reused for all the status badges and product blocks badges. Components that can be refactored: WfoProcessStatusBadge, WfoProductBlockBadge, WfoProductStatusBadge, WfoSubscriptionStatusBadge.
My idea is to have the switch based on colors instead of statuses, so an object with statuses mapped to colors can be passed to this new generic component.