"use client"; import { CheckCircle2, CircleMinus, GripVertical, LoaderCircle, Sparkles, X, } from "lucide-react"; import { cn } from "@/lib/utils"; export function SkillTag({ name, index, onRemove, active = false, muted = false, draggable = false, status = "selected", showStatusLabel = true, className, }: { name: string; index?: number; onRemove?: () => void; active?: boolean; muted?: boolean; draggable?: boolean; status?: "selected" | "checking" | "used" | "unused"; showStatusLabel?: boolean; className?: string; }) { return ( {draggable ? ( ) : active ? ( ) : null} {typeof index === "number" && ( {String(index + 1).padStart(2, "0")} )} {name} {showStatusLabel && status === "checking" && ( 判断中 )} {showStatusLabel && status === "used" && ( 已触发 )} {showStatusLabel && status === "unused" && ( 未触发 )} {onRemove && ( )} ); }