import{jsx as r}from"react/jsx-runtime";import{forwardRef as t,useMemo as s}from"react";import a from"classnames";import{ColumnCountCssVar as o}from"./constants.js";import c from"./Grid.scss.js";var n=t((function(t,n){var e=t.children,i=t.rows,m=void 0===i?1:i,d=t.span,p=t.testId,f=t.className,l=s((function(){return{gridArea:"span ".concat(m," / span ").concat(d||"var(".concat(o,")"))}}),[m,d]);return r("div",{className:a(c.cell,f),"data-testid":p,style:l,ref:n,children:e})}));export{n as Cell};
//# sourceMappingURL=Cell.js.map
