7 lines
352 B
TypeScript
7 lines
352 B
TypeScript
import type { HTMLAttributes } from "react";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
export function Badge({ className, ...props }: HTMLAttributes<HTMLSpanElement>) {
|
|
return <span className={cn("inline-flex items-center rounded-full bg-slate-100 px-2.5 py-1 text-[11px] font-extrabold uppercase tracking-wide text-slate-700", className)} {...props} />;
|
|
}
|