Accept object to BadgeComponent for types

Only one “type” is assumed to be true at a time.