"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GroupColumns = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const react_1 = require("react");
const HeadCell_1 = require("../../../HeadCell");
const GroupColumns = ({ column, sorting, onSort, gridPosition, startAdornment, }) => ((0, jsx_runtime_1.jsxs)(react_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(HeadCell_1.HeadCell, { sorting: sorting, label: column.label, onSort: onSort, className: HeadCell_1.headCellClassnames.groupParent, gridPosition: gridPosition, startAdornment: startAdornment }), column.children.map((child) => ((0, jsx_runtime_1.jsx)(HeadCell_1.HeadCell, { ...child, onSort: onSort, className: HeadCell_1.headCellClassnames.groupChild, startAdornment: child.columnHint }, child.label)))] }, column.label));
exports.GroupColumns = GroupColumns;
