import type { SVGProps } from "react"; type IconName = | "home" | "play" | "folder" | "package" | "boxes" | "images" | "credit-card" | "clapperboard" | "film" | "video" | "tile" | "bars" | "bars2" | "key" | "cog" | "chev-down" | "chev-right" | "search" | "bell" | "help" | "doc" | "up" | "plus" | "product-plus" | "airshelf" | "flame" | "check" | "x" | "play-tri" | "rotate" | "more" | "wallet" | "coin" | "download" | "team" | "lightbulb" | "sparkles" | "info" | "arrow-right"; const PATHS: Record = { home: ( <> ), play: , package: ( <> ), boxes: ( <> ), images: ( <> ), clapperboard: ( <> ), film: ( <> ), video: ( <> ), folder: ( <> ), tile: , bars: ( <> ), bars2: , key: ( <> ), cog: ( <> ), "chev-down": , "chev-right": , search: ( <> ), bell: , help: ( <> ), doc: ( <> ), up: , plus: , "product-plus": ( <> ), airshelf: ( <> ), flame: ( <> ), check: , x: , "play-tri": , rotate: ( <> ), more: ( <> ), wallet: ( <> ), "credit-card": ( <> ), coin: ( <> ), download: , team: ( <> ), lightbulb: ( <> ), sparkles: ( <> ), info: ( <> ), "arrow-right": , }; interface Props extends Omit, "name"> { name: IconName; size?: number; strokeWidth?: number; } export default function Icon({ name, size = 16, strokeWidth = 1.5, ...rest }: Props) { return ( {PATHS[name]} ); }