import React from "react";
import { TermSearch } from "../input/TermSearch";
export const FacetSearch = ({ className, termValue, setTermValue, pushTerm, allTerms, type, placeholder, labelStyle, name, color, icon, size, iconSize, helpText, removeFilterItem, }) => {
    return (React.createElement("div", { className: "facet-search" },
        helpText ? React.createElement("div", { className: "help-text" }, helpText) : null,
        React.createElement(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 })));
};
