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
721 B
2 lines
721 B
import{d as p,m as l,f as c,e as u,aT as f,o as r,g as m,x as i,i as d,h as I,t as g}from"./index-f4658ae7.js";import{contentProps as C}from"./props-423fa451.js";const{t:x}=u(),$=p({name:"MenuItemContent",props:C,setup(e){const{prefixCls:s}=l("basic-menu-item-content"),o=c(()=>{var t;return x((t=e.item)==null?void 0:t.name)}),a=c(()=>{var t,n;return(n=(t=e.item)==null?void 0:t.meta)==null?void 0:n.Icon});return{prefixCls:s,getI18nName:o,getIcon:a}}});function N(e,s,o,a,t,n){return r(),m("span",{class:i(`${e.prefixCls}- flex items-center `)},[e.getIcon?(r(),m("i",{key:0,class:i(e.getIcon),style:{"font-size":"18px"}},null,2)):d("",!0),I(" "+g(e.getI18nName),1)],2)}const y=f($,[["render",N]]);export{y as default};
|