import * as svg from '@element-plus/icons-vue';
import './svgicon.vue.mjs';
import _sfc_main from './svgicon.vue2.mjs';

function elSvg(app) {
  const icons = svg;
  for (const i in icons) {
    if (!app._context.components[`ele-${icons[i].name}`]) {
      app.component(`ele-${icons[i].name}`, icons[i]);
    }
  }
  if (!app._context.components[`SvgIcon`]) {
    app.component("SvgIcon", _sfc_main);
  }
}

export { elSvg };
