"use client";
import { jsx } from "react/jsx-runtime";
import { icons } from "lucide-react";
import { cn } from "../../lib/utils/index.js";
function DynamicIcon({ name, className, fallback = "LayoutGrid" }) {
  const IconComponent = icons[name] || icons[fallback] || icons.LayoutGrid;
  return /* @__PURE__ */ jsx(IconComponent, { className: cn("h-4 w-4", className) });
}
export {
  DynamicIcon
};
