"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const React = require("react");
const utils = require("./dist-esm-shared-src-utils.cjs");
const Icon = require("./dist-esm-Icon.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 createLucideIcon = (iconName, iconNode) => {
  const Component = React.forwardRef(
    ({ className, ...props }, ref) => React.createElement(Icon.default, {
      ref,
      iconNode,
      className: utils.mergeClasses(
        `lucide-${utils.toKebabCase(utils.toPascalCase(iconName))}`,
        `lucide-${iconName}`,
        className
      ),
      ...props
    })
  );
  Component.displayName = utils.toPascalCase(iconName);
  return Component;
};
exports.default = createLucideIcon;
//# sourceMappingURL=dist-esm-createLucideIcon.cjs.map
