import{e as c,c as l,o as i,a as m,i as t,j as n,v as u,z as d,aP as s}from"./U452nBqE.js";const _=["xlink:href"],f=c({__name:"index",props:{name:{default:""},color:{},size:{default:"var(--el-font-size-medium)"},class:{default:""},style:{default:()=>({})}},setup(o){const e=o,a=n(()=>e.name.startsWith("icon-")?`#${e.name}`:`#icon-${e.name}`),r=n(()=>({...e.style,fontSize:s(e.size),width:s(e.size),height:s(e.size),...e.color?{color:e.color}:{}}));return(p,h)=>(i(),l("svg",{"aria-hidden":"true",style:d(t(r)),class:u(e.class)},[m("use",{"xlink:href":t(a),fill:"currentColor"},null,8,_)],6))}}),x=Object.assign(f,{__name:"SvgIcon"});export{x as _};
