import{_ as c}from"./CuzaDH-7.js";import{d as f,r as m,o as s,c as t,w as p,p as d,f as u,a as b,n as C,t as h,b as g,A as k}from"./BvNnk7SS.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 s(),t(k(e.href?"a":"button"),{href:e.disabled?void 0:e.href,rel:g(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:p(()=>[d(e.$slots,"default",{},()=>[e.icon?(s(),t(n,{key:0,icon:e.icon,mr2:""},null,8,["icon"])):u("",!0),b("span",{class:C(e.labelClass)},h(e.label),3)])]),_:3},8,["href","rel","target"])}}});export{B as _};
