2024-11-11 15:33:52 +08:00
|
|
|
import{d as o,b as n,o as c,c as l,a as r,O as i}from"./@vue.18505fe0.js";import{d}from"./index.63c36c8b.js";const _=["xlink:href","fill"],u=o({__name:"index",props:{iconName:{type:String,required:!0},className:{type:String,default:""},color:{type:String,default:"#333"},white:{type:Boolean,default:!1}},setup(e){const s=e,t=n(()=>`#icon-${s.iconName}`),a=n(()=>s.className?`svg-icon ${s.className}`:"svg-icon");return(f,m)=>(c(),l("svg",{class:i(a.value),"aria-hidden":"true"},[r("use",{"xlink:href":t.value,fill:e.white?"#fff":e.color},null,8,_)],2))}});const v=d(u,[["__scopeId","data-v-9b161d0d"]]);export{v as _};
|