Files
apps-registry/workloads/ecommerce/components/ui/badge.tsx
T
2026-07-19 19:37:41 -05:00

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} />;
}