"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react"),t=require("classnames"),s=require("./constants.js"),a=require("./Grid.scss.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=n(t);exports.Cell=function(t){var n=t.children,u=t.rows,i=void 0===u?1:u,o=t.span,l=t.testId,d=t.className,f=r.useMemo((function(){return{gridArea:"span ".concat(i," / span ").concat(o||"var(".concat(s.ColumnCountCssVar,")"))}}),[i,o]);return e.jsx("div",{className:c.default(a.cell,d),"data-testid":l,style:f,children:n})};
