({
className,
badgeSize = "normal",
}: {
className?: string;
badgeSize?: keyof typeof variant;
})
| 45 | } |
| 46 | |
| 47 | export function NewBadge({ |
| 48 | className, |
| 49 | badgeSize = "normal", |
| 50 | }: { |
| 51 | className?: string; |
| 52 | badgeSize?: keyof typeof variant; |
| 53 | }) { |
| 54 | return ( |
| 55 | <span className={cn(variant[badgeSize], "bg-green-600 text-background-dimmed", className)}> |
| 56 | New! |
| 57 | </span> |
| 58 | ); |
| 59 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…