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