10 lines
351 B
TypeScript
10 lines
351 B
TypeScript
import * as React from "react"
|
|
|
|
import { cn } from "@/lib/utils"
|
|
|
|
function Badge({ className, ...props }: React.ComponentProps<"span">) {
|
|
return <span data-slot="badge" className={cn("inline-flex items-center rounded-full border border-border px-2 py-0.5 text-[11px] font-medium text-muted-foreground", className)} {...props} />
|
|
}
|
|
|
|
export { Badge }
|