2024-08-11 17:34:03 +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 as _}from"./index.97d0e487.js";const u=["xlink:href","fill"],d=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,u)],2))}});const v=_(d,[["__scopeId","data-v-98773690"]]);export{v as _};
|