import{I as i,p as s,_ as u}from"./index.js";import{q as d}from"./antd-0679333d.js";import{d as l,g as _,c as f,Z as I,a4 as y,a5 as k,a6 as a,$ as r,k as g,a0 as M}from"./vue-72a104e4.js";const $=l({name:"DropdownMenuItem",components:{MenuItem:d.Item,Icon:i},props:{key:s.string,text:s.string,icon:s.string},setup(e){const n=_();return{itemKey:f(()=>{var t,o;return e.key||((o=(t=n==null?void 0:n.vnode)==null?void 0:t.props)==null?void 0:o.key)})}}}),x={class:"flex items-center"};function C(e,n,c,t,o,h){const p=a("Icon"),m=a("MenuItem");return I(),y(m,{key:e.itemKey},{default:k(()=>[r("span",x,[g(p,{icon:e.icon,class:"mr-1"},null,8,["icon"]),r("span",null,M(e.text),1)])]),_:1})}const v=u($,[["render",C]]);export{v as default};
