Files
klz-cables.com/.pnpm-store/v10/files/85/bb87d730c868f86b77b2ebce24271f7f7c7c2d10722ae6ead12f8cd682f0e34cf894e33a6acd985e49c6df91b915c2c6942e78f9809ad19ee62908fefb9be5
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

31 lines
750 B
Plaintext

import { jsxs as _jsxs } from "react/jsx-runtime";
import React from 'react';
import { useSelection } from '../../providers/Selection/index.js';
import { useTranslation } from '../../providers/Translation/index.js';
import { Pill } from '../Pill/index.js';
export const SelectMany = props => {
const {
onClick
} = props;
const {
count,
selected
} = useSelection();
const {
t
} = useTranslation();
if (!selected || !count) {
return null;
}
return /*#__PURE__*/_jsxs(Pill, {
onClick: () => {
if (typeof onClick === 'function') {
onClick(selected);
}
},
pillStyle: "white",
size: "small",
children: [t('general:select'), " ", count]
});
};
//# sourceMappingURL=index.js.map