UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

2 lines (1 loc) 621 B
var a=(...i)=>i.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?a(...e):typeof e=="object"?Object.keys(e).map((t,d)=>e[d]||e[t]&&t||null).filter(t=>t!==null).join(" "):e).filter(e=>!!e).join(" ");import{jsx as n}from"react/jsx-runtime";var o="k-orgchart",s=[],c={},r={width:"100%",height:"300px"},l=i=>{let{width:e=r.width,height:t=r.height,...d}=i;return n("div",{...d,className:a(i.className,o),children:n("div",{className:"k-orgchart-container",style:{width:e,height:t},children:i.children})})};l.states=s;l.options=c;l.className=o;l.defaultOptions=r;var $=l;export{o as ORGCHART_CLASSNAME,l as Orgchart,$ as default};