import{k as i}from"./antd-vue-vendor-CahNzUUa.js";import{d as u,e as d,g as l,U as a,a2 as _,ad as f,af as I,a4 as r,k as y,a5 as g}from"./vue-vendor-CxLCUzY4.js";import{F as s,o as K,_ as M}from"./index-Cy4uayzW.js";import"./vxe-table-vendor-Cdi8WfTx.js";const k=u({name:"DropdownMenuItem",components:{MenuItem:i.Item,Icon:K},props:{itemKey:s.string,text:s.string,icon:s.string},setup(e){const t=l();return{itemKey:d(()=>{var o,n;return e.itemKey||((n=(o=t==null?void 0:t.vnode)==null?void 0:o.props)==null?void 0:n.itemKey)})}}}),x={class:"flex items-center"};function C(e,t,c,o,n,$){const p=a("Icon"),m=a("MenuItem");return _(),f(m,{key:e.itemKey},{default:I(()=>[r("span",x,[y(p,{icon:e.icon,class:"mr-1"},null,8,["icon"]),r("span",null,g(e.text),1)])]),_:1})}const w=M(k,[["render",C]]);export{w as default};
