@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
2 lines (1 loc) • 715 B
JavaScript
var r=(...i)=>i.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?r(...e):typeof e=="object"?Object.keys(e).map((l,o)=>e[o]||e[l]&&l||null).filter(l=>l!==null).join(" "):e).filter(e=>!!e).join(" ");var a="timeline",d=a;import{Fragment as g,jsx as s}from"react/jsx-runtime";var n="k-timeline",u=[],x={},c={orientation:"vertical"},t=i=>{let{orientation:e=c.orientation,collapsibleEvents:l,alternatingMode:o,...m}=i;return s("div",{...m,className:r(i.className,n,{[`${n}-${e}`]:e,[`${n}-alternating`]:o,[`${n}-collapsible`]:l}),children:s(g,{children:i.children})})};t.states=u;t.options=x;t.className=n;t.defaultOptions=c;t.moduleName=a;t.folderName=d;var A=t;export{n as TIMELINE_CLASSNAME,t as Timeline,A as default};