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