import React from 'react' import { cn } from '../../services/cn' const colorClass = { lavender: 'bg-lavender', 'dark-green': 'bg-dark-green', black: 'bg-black', } as const type BadgeColorList = keyof typeof colorClass export type BadgeProps = { /** Content of the Badge */ children: React.ReactNode /** Color of the Badge */ color: BadgeColorList /** Optional prop to add a test id to the Badge for QA testing */ qaTestId?: string } const Badge = ({ children, color = 'lavender', qaTestId = 'badge', }: BadgeProps) => { return (