UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

2 lines (1 loc) 664 B
var l=(...i)=>i.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?l(...e):typeof e=="object"?Object.keys(e).map((t,r)=>e[r]||e[t]&&t||null).filter(t=>t!==null).join(" "):e).filter(e=>!!e).join(" ");import{jsx as d}from"react/jsx-runtime";var o="k-calendar-view",a={orientation:"horizontal",calendarView:"month"},n=i=>{let{orientation:e=a.orientation,calendarView:t=a.calendarView,...r}=i;return d("div",{...r,className:l(i.className,o,`k-calendar-${t}view`,"k-align-items-start","k-justify-content-center",{"k-hstack":e==="horizontal","k-vstack":e==="vertical"}),children:i.children})};n.className=o;n.defaultOptions=a;var v=n;export{n as CalendarView,v as default};