"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.LegendTableCell = void 0;
const classnames_1 = __importDefault(require("classnames"));
const react_1 = __importDefault(require("react"));
const LegendTableCell = ({ truncate = false, className, children }) => {
    const classes = (0, classnames_1.default)('echLegendTable__cell', className, {
        'echLegendTable__cell--truncate': truncate,
    });
    return (react_1.default.createElement("div", { role: "gridcell", className: classes }, children));
};
exports.LegendTableCell = LegendTableCell;
//# sourceMappingURL=legend_table_cell.js.map