import type { CSSProperties } from "react"; import { cn } from "@/lib/utils"; export type ReferenceIconName = | "home" | "folder" | "skill" | "brand" | "plus" | "model-auto" | "arrow-up" | "commerce" | "social" | "branding" | "creativity" | "website" | "connections" | "clipper" | "cursor" | "pan" | "text" | "sparkles" | "style-controls" | "image-enhance" | "tutorial" | "video" | "toolbox" | "settings" | "profile" | "comment" | "draw" | "image" | "layers" | "history" | "expand" | "collapse" | "reference" | "skill-filled" | "brand-filled" | "pinterest" | "close" | "reference-image" | "chevron-down" | "points" | "page" | "model-banana" | "model-gpt" | "model-seedream" | "model-luma" | "model-flux" | "model-midjourney" | "model-ideogram" | "model-recraft" | "image-local-edit" | "image-layout-replace" | "image-mark" | "image-upscale" | "image-remove-background" | "image-erase" | "image-extract-layer" | "image-edit-text" | "image-angle" | "image-motion" | "image-more" | "image-download" | "image-move-object" | "image-mockup" | "image-outpaint" | "image-adjust" | "image-crop" | "image-vector" | "image-flip-rotate" | "toolbar-pin-outline" | "toolbar-pin-filled" | "toolbar-reset" | "toolbar-close"; type ReferenceIconProps = { name: ReferenceIconName; size?: number; className?: string; style?: CSSProperties; }; export function ReferenceIcon({ name, size = 18, className, style, }: ReferenceIconProps) { const source = `url("/icons/lovart/${name}.svg")`; return (