Update src/components/ui/Tag.tsx

This commit is contained in:
2026-05-30 13:01:40 +00:00
parent 71fe2e377b
commit edd8c98400

View File

@@ -1,17 +0,0 @@
import type { LucideIcon } from "lucide-react";
import { cls } from "@/lib/utils";
interface TagProps {
text: string;
icon?: LucideIcon;
className?: string;
}
const Tag = ({ text, icon: Icon, className = "" }: TagProps) => (
<div className={cls("flex items-center gap-1 px-3 py-1 text-sm card rounded w-fit", className)}>
{Icon && <Icon className="h-(--text-sm) w-auto" />}
<p>{text}</p>
</div>
);
export default Tag;