import e from"../_util/classNames.mjs";import t from"../_util/props-util/initDefaultProps.mjs";import n from"../config-provider/hooks/useConfigInject.mjs";import r,{skeletonElementProps as i}from"./Element.mjs";import a from"./style/index.mjs";import{computed as o,createVNode as s,defineComponent as c}from"vue";var l=()=>({...i(),shape:String}),u=c({compatConfig:{MODE:3},name:`ASkeletonAvatar`,props:t(l(),{size:`default`,shape:`circle`}),setup(t){let{prefixCls:i}=n(`skeleton`,t),[c,l]=a(i),u=o(()=>e(i.value,`${i.value}-element`,{[`${i.value}-active`]:t.active},l.value));return()=>c(s(`div`,{class:u.value},[s(r,{...t,prefixCls:`${i.value}-avatar`},null)]))}});export{l as avatarProps,u as default};