var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
import React from 'react';
import classnames from 'classnames';
import DefaultHeadCellRenderer from 'react-components/dist/Table/DefaultHeadCellRenderer/DefaultHeadCellRenderer';
import { useCommonStyles } from '../../styles';
import { useStyles } from './styles';
export var HeadCellRenderer = function (props) {
    var styles = useStyles();
    var commonStyles = useCommonStyles();
    return (React.createElement("div", { "data-reltio-id": "attributes-table-head-cell", className: classnames(styles.root, commonStyles.coloredCell) },
        React.createElement(DefaultHeadCellRenderer, __assign({}, props)),
        props.children));
};
