import * as React from "react" import { cn } from "@/lib/utils" import { icons } from "lucide-react" export type IconProps = { name: keyof typeof icons className?: string strokeWidth?: number [key: string]: any } export const LaIcon = React.memo(({ name, className, size, strokeWidth, ...props }: IconProps) => { const IconComponent = icons[name] if (!IconComponent) { return null } return }) LaIcon.displayName = "LaIcon"