You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
682 B

import{d as i,bH as u,bY as d,ay as s,D as l,f as _,aT as f,aU as a,o as y,a as I,w as k,j as c,b as M,t as g}from"./index-f4658ae7.js";const x=i({name:"DropdownMenuItem",components:{MenuItem:u.Item,Icon:d},props:{key:s.string,text:s.string,icon:s.string},setup(e){const n=l();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 D(e,n,r,t,o,$){const p=a("Icon"),m=a("MenuItem");return y(),I(m,{key:e.itemKey},{default:k(()=>[c("span",C,[M(p,{icon:e.icon,class:"mr-1"},null,8,["icon"]),c("span",null,g(e.text),1)])]),_:1})}const h=f(x,[["render",D]]);export{h as default};