/**
 * @license lucide-react-native v1.9.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */

'use strict';

var react = require('react');
var toPascalCase = require('./shared/src/utils/toPascalCase.js');
var Icon = require('./Icon.js');

const createLucideIcon = (iconName, iconNode) => {
  const Component = react.forwardRef(
    (props, ref) => react.createElement(Icon, {
      ref,
      iconNode,
      ...props
    })
  );
  Component.displayName = toPascalCase.toPascalCase(iconName);
  return Component;
};

module.exports = createLucideIcon;
//# sourceMappingURL=createLucideIcon.js.map
