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=(...l)=>l.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"},i=l=>{let{width:e=r.width,height:t=r.height,...d}=l;return n("div",{...d,className:a(l.className,o),children:n("div",{className:"k-orgchart-container",style:{width:e,height:t},children:l.children})})};i.states=s;i.options=c;i.className=o;i.defaultOptions=r;var $=i;export{o as ORGCHART_CLASSNAME,i as Orgchart,$ as default};