UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

2 lines (1 loc) 593 B
var i=(...l)=>l.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?i(...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 d="k-skeleton",r=[],s={},o={shape:"text",animation:"pulse"},a=l=>{let{shape:e=o.shape,animation:t=o.animation,...n}=l;return c("span",{...n,className:i(l.className,d,{[`k-skeleton-${e}`]:e,[`k-skeleton-${t}`]:t}),style:l.style})};a.states=r;a.options=s;a.className=d;a.defaultOptions=o;var $=a;export{d as SKELETON_CLASSNAME,a as Skeleton,$ as default};