"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.HeadCellStartAdornment = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const Checkbox_1 = require("../../../../Checkbox");
const styles_1 = require("./styles");
const HeadCellStartAdornment = ({ showCheckbox, columnHint, checkboxProps, }) => {
    if (!showCheckbox && !columnHint) {
        return null;
    }
    return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [showCheckbox && ((0, jsx_runtime_1.jsx)(styles_1.CheckboxCell, { children: (0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { ...checkboxProps }) })), columnHint] }));
};
exports.HeadCellStartAdornment = HeadCellStartAdornment;
