moreShopAdmin/build/admin/assets/index.98e6ef5d.js

2 lines
619 B
JavaScript
Raw Normal View History

2024-09-02 16:03:23 +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.e5adcc1a.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 _};