"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.FacetViewHeader = void 0;
var react_1 = __importDefault(require("react"));
var classnames_1 = __importDefault(require("classnames"));
var BasicViewHeader_1 = require("../BasicViewHeader");
var styles_1 = require("./styles");
var FacetViewHeader = function (_a) {
    var className = _a.className, classes = _a.classes, title = _a.title, children = _a.children;
    var styles = (0, styles_1.useStyles)();
    return (react_1.default.createElement(BasicViewHeader_1.BasicViewHeader, { "data-reltio-id": "facet-view-header", title: title, classes: {
            root: (0, classnames_1.default)(styles.container, className),
            title: (0, classnames_1.default)(styles.title, classes === null || classes === void 0 ? void 0 : classes.title)
        } }, children));
};
exports.FacetViewHeader = FacetViewHeader;
