Files
klz-cables.com/.pnpm-store/v10/files/f1/1df2c5761af940ee7cef22f7db40e29abfabb81c917a765d26493a9207f50de14b698695db8d6bea2a1e8e029a0bbd386e0282fc5bc64df4b06f367c5e58b5
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

34 lines
945 B
Plaintext

'use client';
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
import React from 'react';
import { ContextFolderFileCard } from '../FolderFileCard/index.js';
import './index.scss';
const baseClass = 'item-card-grid';
export function ItemCardGrid({
type,
items,
subfolderCount,
title
}) {
return /*#__PURE__*/_jsxs(_Fragment, {
children: [title && /*#__PURE__*/_jsx("p", {
className: `${baseClass}__title`,
children: title
}), /*#__PURE__*/_jsx("div", {
className: baseClass,
children: !items || items?.length === 0 ? null : items.map((item, _index) => {
const index = _index + (subfolderCount || 0);
const {
itemKey
} = item;
return /*#__PURE__*/_jsx(ContextFolderFileCard, {
index: index,
item: item,
type: type
}, itemKey);
})
})]
});
}
//# sourceMappingURL=index.js.map