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