import cx from "classnames"; import { CLASS_CAPTION, CLASS_INPUT, CLASS_INPUT_WRAPPER, CLASS_INPUT_WRAPPER_SEARCH_ICON_WITH_PLACEHOLDER, CLASS_INPUT_WRAPPER_SEARCH_RESPONSIVE, CLASS_LIST_INLINE, CLASS_SUBNAV, CLASS_SUBNAV_ITEM, CLASS_TAG, } from "./constants"; import { searchResultItems, searchTerms } from "./data"; type MegamenuSearchContentProps = { inputId: string; inputLabel: string; searchValue: string; hasSearchEmpty: boolean; hasSearchFilled: boolean; emptyStateLinkHref?: string; }; export const MegamenuSearchContent = ({ inputId, inputLabel, searchValue, hasSearchEmpty, hasSearchFilled, emptyStateLinkHref = "#", }: MegamenuSearchContentProps) => { return ( <> {hasSearchEmpty ? ( <>
Najhľadanejši výrazy