UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

2 lines (1 loc) 664 B
var a=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?a(...e):typeof e=="object"?Object.keys(e).map((l,d)=>e[d]||e[l]&&l||null).filter(l=>l!==null).join(" "):e).filter(e=>!!e).join(" ");import{Fragment as u,jsx as o}from"react/jsx-runtime";var i="k-timeline",c=[],m={},r={orientation:"vertical"},n=t=>{let{orientation:e=r.orientation,collapsibleEvents:l,alternatingMode:d,...s}=t;return o("div",{...s,className:a(t.className,i,{[`${i}-${e}`]:e,[`${i}-alternating`]:d,[`${i}-collapsible`]:l}),children:o(u,{children:t.children})})};n.states=c;n.options=m;n.className=i;n.defaultOptions=r;var M=n;export{i as TIMELINE_CLASSNAME,n as Timeline,M as default};