import{aH as i,a as u,cW as l,cb as d,b1 as s,f as _,o as f,aK as I,p as y,i as a,j as k,t as M,aJ as c,bz as g}from"./index.bde7963b.js";const x=u({name:"DropdownMenuItem",components:{MenuItem:l.Item,Icon:d},props:{key:s.string,text:s.string,icon:s.string},setup(e){const n=g();return{itemKey:_(()=>{var t,o;return e.key||((o=(t=n==null?void 0:n.vnode)==null?void 0:t.props)==null?void 0:o.key)})}}}),C={class:"flex items-center"};function K(e,n,r,t,o,$){const p=c("Icon"),m=c("MenuItem");return f(),I(m,{key:e.itemKey},{default:y(()=>[a("span",C,[k(p,{icon:e.icon,class:"mr-1"},null,8,["icon"]),a("span",null,M(e.text),1)])]),_:1})}var h=i(x,[["render",K]]);export{h as default};
