UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

2 lines (1 loc) 724 B
var n=(...a)=>a.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?n(...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(" ");import{jsx as f}from"react/jsx-runtime";var t="k-pane",u=[],m={},d={resizable:!0,flex:!1},i=a=>{let{scrollable:e,flexBasis:l,flex:o=d.flex,collapsible:b,resizable:k=d.resizable,pinned:r,unpinned:s,tabbed:c,...x}=a;return f("div",{...x,style:{flexBasis:l,...a.style},className:n(a.className,t,{[`${t}-static`]:l,[`${t}-flex`]:o,"k-scrollable":e,[`${t}-pinned`]:r,[`${t}-unpinned`]:s,[`${t}-tabbed`]:c}),children:a.children})};i.states=u;i.options=m;i.className=t;i.defaultOptions=d;var A=i;export{i as SplitterPane,A as default};