'use client';
import * as React from 'react';
import { jsx } from 'react/jsx-runtime';
import SvgIcon from '../SvgIcon/SvgIcon.mjs';

function createSvgIcon(path, displayName) {
  function Component(props, ref) {
    return /*#__PURE__*/jsx(SvgIcon, {
      "data-testid": `${displayName}Icon`,
      ref: ref,
      ...props,
      children: path
    });
  }
  Component.muiName = SvgIcon.muiName;
  return /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(Component));
}

export { createSvgIcon as default };
//# sourceMappingURL=createSvgIcon.mjs.map
