UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

2 lines (1 loc) 893 B
var i=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?i(...e):typeof e=="object"?Object.keys(e).map((l,a)=>e[a]||e[l]&&l||null).filter(l=>l!==null).join(" "):e).filter(e=>!!e).join(" ");import{jsx as f}from"react/jsx-runtime";var r="k-scheduler-layout",m=[],h={},x={},d=t=>{let{as:e="div",view:l,...a}=t;return f(e,{...a,className:i(t.className,r,{[`k-scheduler-${l}view`]:l}),children:t.children})};d.states=m;d.options=h;d.className=r;d.defaultOptions=x;var s=d;import{jsx as y,jsxs as S}from"react/jsx-runtime";var c="k-scheduler",k=[],v={},g={},n=t=>{let{view:e,toolbar:l,footer:a,layout:o,...u}=t;return S("div",{...u,className:i(t.className,c),children:[l,y(s,{className:i({"k-scheduler-layout-flex":o==="flex"}),as:o==="table"?"table":"div",view:e,children:t.children}),a]})};n.states=k;n.options=v;n.className=c;n.defaultOptions=g;var C=n;export{n as Scheduler,C as default};