import{d as e,w as i,e as a}from"./main-D8Z-8iPZ.js";const l=e({name:"SvgIcon",props:{iconName:{type:String,required:!0},className:{type:String,default:""},color:{type:String,default:""},size:{type:String,default:"1.8rem"}},setup(e){const l=i((()=>`#icon-${e.iconName}`)),s=i((()=>e.className?`relative inline-block align-[-0.2rem] ${e.className}`:"relative inline-block align-[-0.2rem]"));return()=>a("svg",{class:s.value,style:{width:e.size,height:e.size},"aria-hidden":"true"},[a("use",{"xlink:href":l.value,fill:e.color},null)])}});export{l as S};
