"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const React = require("react");
const defaultAttributes = require("./dist-esm-defaultAttributes.cjs");
const utils = require("./dist-esm-shared-src-utils.cjs");
/**
 * @license lucide-react v0.540.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */
const Icon = React.forwardRef(
  ({
    color = "currentColor",
    size = 24,
    strokeWidth = 2,
    absoluteStrokeWidth,
    className = "",
    children,
    iconNode,
    ...rest
  }, ref) => React.createElement(
    "svg",
    {
      ref,
      ...defaultAttributes.default,
      width: size,
      height: size,
      stroke: color,
      strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
      className: utils.mergeClasses("lucide", className),
      ...!children && !utils.hasA11yProp(rest) && { "aria-hidden": "true" },
      ...rest
    },
    [
      ...iconNode.map(([tag, attrs]) => React.createElement(tag, attrs)),
      ...Array.isArray(children) ? children : [children]
    ]
  )
);
exports.default = Icon;
//# sourceMappingURL=dist-esm-Icon.cjs.map
