"use client";
import { jsx as l } from "react/jsx-runtime";
import * as n from "../../node_modules/lucide-react/dist/esm/lucide-react.js";
import { cn as m } from "../../lib/utils.js";
const u = {
  xs: 16,
  sm: 20,
  md: 24,
  lg: 32,
  xl: 40
};
function p({
  name: o,
  size: t = "md",
  className: c,
  color: e,
  ...s
}) {
  if (!n[o])
    return console.warn(`Icon "${o}" not found in lucide-react`), null;
  const i = n[o], r = u[t];
  return /* @__PURE__ */ l(
    i,
    {
      size: r,
      className: m(c),
      color: e,
      ...s
    }
  );
}
export {
  p as Icon,
  p as default
};
