import{j as e}from"./index-D4ZMoJFe.js";import{S as l}from"./SkeletonBlock-BzjAsBLJ.js";function p({columns:r=6,rows:i=6}){return e.jsx("div",{className:"table-shell overflow-hidden",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("div",{className:"min-w-full",children:[e.jsx("div",{className:"grid gap-3 border-b border-border bg-surface2/80 px-4 py-4",style:{gridTemplateColumns:`repeat(${r}, minmax(0, 1fr))`},children:Array.from({length:r}).map((d,a)=>e.jsx(l,{className:"h-4"},`header-${a}`))}),e.jsx("div",{className:"divide-y divide-border",children:Array.from({length:i}).map((d,a)=>e.jsx("div",{className:"grid gap-3 px-4 py-4",style:{gridTemplateColumns:`repeat(${r}, minmax(0, 1fr))`},children:Array.from({length:r}).map((m,s)=>e.jsx(l,{className:`h-4 ${s===0?"w-20":""}`},`cell-${a}-${s}`))},`row-${a}`))})]})})})}export{p as T};
