"use client";
import { forwardRef as c, createElement as a } from "react";
import d from "./defaultAttributes.js";
import { hasA11yProp as A } from "./shared/src/utils/hasA11yProp.js";
import { mergeClasses as b } from "./shared/src/utils/mergeClasses.js";
/**
 * @license lucide-react v0.576.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */
const h = c(
  ({
    color: m = "currentColor",
    size: t = 24,
    strokeWidth: e = 2,
    absoluteStrokeWidth: s,
    className: u = "",
    children: r,
    iconNode: f,
    ...o
  }, i) => a(
    "svg",
    {
      ref: i,
      ...d,
      width: t,
      height: t,
      stroke: m,
      strokeWidth: s ? Number(e) * 24 / Number(t) : e,
      className: b("lucide", u),
      ...!r && !A(o) && { "aria-hidden": "true" },
      ...o
    },
    [
      ...f.map(([p, l]) => a(p, l)),
      ...Array.isArray(r) ? r : [r]
    ]
  )
);
export {
  h as default
};
