import{defineComponent as p,createVNode as a}from"vue";const u=()=>({prefixCls:String,width:{type:[Number,String,Array]},rows:Number}),f=p({compatConfig:{MODE:3},name:"SkeletonParagraph",props:u(),setup(o){const i=t=>{const{width:r,rows:e=2}=o;if(Array.isArray(r))return r[t];if(e-1===t)return r};return()=>{const{prefixCls:t,rows:r}=o,e=[...new Array(r)].map((l,s)=>{const n=i(s);return a("li",{key:s,style:{width:typeof n=="number"?`${n}px`:n}},null)});return a("ul",{class:t},[e])}}});export{f as default,u as skeletonParagraphProps};
