({ className, variant, ...props }: BadgeProps)
| 23 | export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {} |
| 24 | |
| 25 | function Badge({ className, variant, ...props }: BadgeProps) { |
| 26 | return <div className={cn(badgeVariants({ variant }), className)} {...props} />; |
| 27 | } |
| 28 | |
| 29 | export { Badge, badgeVariants }; |