moreShopAdmin/build/admin/assets/index.41edbd86.js

2 lines
620 B
JavaScript

import{m as o,d as n,p as c,q as l,x as r,N as i}from"./.pnpm.1b0299fb.js";import{d}from"./index.689cfa31.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(m,p)=>(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 _};