@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
2 lines (1 loc) • 593 B
JavaScript
var a=(...l)=>l.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?a(...e):typeof e=="object"?Object.keys(e).map((t,n)=>e[n]||e[t]&&t||null).filter(t=>t!==null).join(" "):e).filter(e=>!!e).join(" ");import{jsx as c}from"react/jsx-runtime";var o="k-skeleton",r=[],s={},d={shape:"text",animation:"pulse"},i=l=>{let{shape:e=d.shape,animation:t=d.animation,...n}=l;return c("span",{...n,className:a(l.className,o,{[`k-skeleton-${e}`]:e,[`k-skeleton-${t}`]:t}),style:l.style})};i.states=r;i.options=s;i.className=o;i.defaultOptions=d;var $=i;export{o as SKELETON_CLASSNAME,i as Skeleton,$ as default};