diff --git a/src/components/ui/Badge.tsx b/src/components/ui/Badge.tsx new file mode 100644 index 0000000..8996d3f --- /dev/null +++ b/src/components/ui/Badge.tsx @@ -0,0 +1,28 @@ +import { cn } from '@/lib/utils' + +interface BadgeProps { + variant?: "primary" | "secondary" | "accent" | "outline" + className?: string + children: React.ReactNode +} + +const variantStyles: Record = { + primary: 'bg-primary text-primary-foreground', + secondary: 'bg-secondary text-secondary-foreground', + accent: 'bg-accent text-accent-foreground', + outline: 'border border-border text-foreground', +} + +export default function Badge({ variant = 'primary', className, children }: BadgeProps) { + return ( + + {children} + + ) +} \ No newline at end of file