non ai theme

This commit is contained in:
mats committed 2026-09-12 18:41:42 +02:00
1 parent 9d444cc0ec
commit 61df5e3dcc
28 files changed
+3347 -448

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
import type { ReactNode } from 'react'
import { cn } from '../../utils/cn'
export type BadgeVariant = 'primary' | 'secondary' | 'destructive' | 'positive' | 'outline'
type BadgeProps = {
children: ReactNode
variant?: BadgeVariant
className?: string
}
export function Badge({ children, variant = 'primary', className }: BadgeProps) {
return (
<span className={cn('badge', `badge-${variant}`, className)}>
{children}
</span>
)
}