import{_ as c}from"./C1ENETdz.js";import{d as f,r as m,c as s,o as t,a as p,u,w as d,b,e as C,f as h,n as g,t as k}from"./DnBXlrVC.js";const B=f({__name:"DropdownMenuItem",props:{label:{},labelClass:{},href:{},target:{},disabled:{type:Boolean,default:!1},icon:{},avatar:{},shortcuts:{}},emits:["click"],setup(v,{emit:o}){const r=o,l=m();return(e,a)=>{const n=c;return t(),s(p(e.href?"a":"button"),{href:e.disabled?void 0:e.href,rel:u(l),target:e.target,class:"w-full flex items-center text-left hover:bg-active cursor-pointer px-2.5 py-0.5 text-base",onClick:a[0]||(a[0]=i=>r("click",i))},{default:d(()=>[b(e.$slots,"default",{},()=>[e.icon?(t(),s(n,{key:0,icon:e.icon,mr2:""},null,8,["icon"])):C("",!0),h("span",{class:g(e.labelClass)},k(e.label),3)])]),_:3},8,["href","rel","target"])}}});export{B as _};
