"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.FacetSearch = void 0;
const react_1 = __importDefault(require("react"));
const TermSearch_1 = require("../input/TermSearch");
const FacetSearch = ({ className, termValue, setTermValue, pushTerm, allTerms, type, placeholder, labelStyle, name, color, icon, size, iconSize, helpText, removeFilterItem, }) => {
    return (react_1.default.createElement("div", { className: "facet-search" },
        helpText ? react_1.default.createElement("div", { className: "help-text" }, helpText) : null,
        react_1.default.createElement(TermSearch_1.TermSearch, { className: className, primary: true, color: color, icon: icon, iconSize: iconSize, size: size, pushTerm: pushTerm, type: type, label: null, placeholder: placeholder, labelStyle: labelStyle, name: name, termValue: termValue, setTermValue: setTermValue, allTerms: allTerms, removeFilterItem: removeFilterItem })));
};
exports.FacetSearch = FacetSearch;
