"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const components_1 = require("@bluebase/components");
const TableCell_1 = tslib_1.__importDefault(require("@material-ui/core/TableCell"));
const TableSortLabel_1 = tslib_1.__importDefault(require("@material-ui/core/TableSortLabel"));
const react_1 = tslib_1.__importDefault(require("react"));
exports.TableTitle = (props) => {
    const { direction, style, children } = props, rest = tslib_1.__rest(props, ["direction", "style", "children"]);
    return (react_1.default.createElement(TableCell_1.default, Object.assign({ style: style }, rest),
        react_1.default.createElement(TableSortLabel_1.default, { direction: direction }, children)));
};
exports.TableTitle.defaultProps = components_1.TableTitleDefaultProps;
