Files
klz-cables.com/.pnpm-store/v10/files/f6/9904f2090d6484b02cc7121524845d9d09e76df6e3de70aa78edc4e88ec5da44949a4390c416e4f22e40c38e70cf8941a6dcdf6f21960b3959dfe83375ee62
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

25 lines
823 B
Plaintext

import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { SearchIcon } from '../../icons/Search/index.js';
import { SearchFilter } from '../SearchFilter/index.js';
import './index.scss';
const baseClass = 'search-bar';
export function SearchBar({
Actions,
className,
label = 'Search...',
onSearchChange,
searchQueryParam
}) {
return /*#__PURE__*/_jsxs("div", {
className: [baseClass, className].filter(Boolean).join(' '),
children: [/*#__PURE__*/_jsx(SearchIcon, {}), /*#__PURE__*/_jsx(SearchFilter, {
handleChange: onSearchChange,
label: label,
searchQueryParam: searchQueryParam
}), Actions && Actions.length > 0 ? /*#__PURE__*/_jsx("div", {
className: `${baseClass}__actions`,
children: Actions
}) : null]
});
}
//# sourceMappingURL=index.js.map