import{defineComponent as l,createVNode as e}from"vue";import o from"../_util/vue-types/index.mjs";import p from"../config-provider/hooks/useConfigInject.mjs";const v=()=>({avatar:o.any,description:o.any,prefixCls:String,title:o.any}),I=l({compatConfig:{MODE:3},name:"AListItemMeta",props:v(),displayName:"AListItemMeta",__ANT_LIST_ITEM_META:!0,slots:Object,setup(a,{slots:i}){const{prefixCls:t}=p("list",a);return()=>{const c=`${t.value}-item-meta`,s=a.title??i.title?.(),n=a.description??i.description?.(),r=a.avatar??i.avatar?.(),m=e("div",{class:`${t.value}-item-meta-content`},[s&&e("h4",{class:`${t.value}-item-meta-title`},[s]),n&&e("div",{class:`${t.value}-item-meta-description`},[n])]);return e("div",{class:c},[r&&e("div",{class:`${t.value}-item-meta-avatar`},[r]),(s||n)&&m])}}});export{I as default,v as listItemMetaProps};
