import{aP as i,a as u,aT as l,aO as d,aK as s,f as _,aQ as a,o as f,aR as I,p as y,i as r,j as k,t as M,b8 as g}from"./index.0d073eaa.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,c,t,o,$){const p=a("Icon"),m=a("MenuItem");return f(),I(m,{key:e.itemKey},{default:y(()=>[r("span",C,[k(p,{icon:e.icon,class:"mr-1"},null,8,["icon"]),r("span",null,M(e.text),1)])]),_:1})}var v=i(x,[["render",K]]);export{v as default};
