UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

2 lines (1 loc) 640 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,n)=>e[n]||e[t]&&t||null).filter(t=>t!==null).join(" "):e).filter(e=>!!e).join(" ");import{jsx as g}from"react/jsx-runtime";var d="k-tilelayout",u=[],m={},x={},l=i=>{let{gap:e,columns:t,columnWidth:n,rowHeight:o,style:r,children:s}=i,c={gridTemplateColumns:`repeat(${t}, minmax(0px, ${n}))`,gridAutoRows:`minmax(0px, ${o})`,gap:e,...r};return g("div",{className:a(i.className,d),style:c,children:s})};l.states=u;l.options=m;l.className=d;l.defaultOptions=x;var z=l;export{d as TILELAYOUT_CLASSNAME,l as TileLayout,z as default};