@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
2 lines (1 loc) • 705 B
JavaScript
var r=(...i)=>i.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?r(...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(" ");var n="tile-layout",a="tilelayout";import{jsx as f}from"react/jsx-runtime";var s="k-tilelayout",x=[],g={},h={},t=i=>{let{gap:e,columns:l,columnWidth:o,rowHeight:d,style:c,children:m}=i,u={gridTemplateColumns:`repeat(${l}, minmax(0px, ${o}))`,gridAutoRows:`minmax(0px, ${d})`,gap:e,...c};return f("div",{className:r(i.className,s),style:u,children:m})};t.states=x;t.options=g;t.className=s;t.defaultOptions=h;t.moduleName=n;t.folderName=a;var O=t;export{s as TILELAYOUT_CLASSNAME,t as TileLayout,O as default};