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

36 lines
1.0 KiB
Plaintext

import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { Gutter, RenderTitle } from '@payloadcms/ui';
import React from 'react';
import { DocumentTabs } from './Tabs/index.js';
const baseClass = `doc-header`;
/**
* @internal
*/
export const DocumentHeader = props => {
const {
AfterHeader,
collectionConfig,
globalConfig,
hideTabs,
permissions,
req
} = props;
return /*#__PURE__*/_jsxs(Gutter, {
className: baseClass,
children: [/*#__PURE__*/_jsxs("div", {
className: `${baseClass}__header`,
children: [/*#__PURE__*/_jsx(RenderTitle, {
className: `${baseClass}__title`
}), !hideTabs && /*#__PURE__*/_jsx(DocumentTabs, {
collectionConfig: collectionConfig,
globalConfig: globalConfig,
permissions: permissions,
req: req
})]
}), AfterHeader ? /*#__PURE__*/_jsx("div", {
className: `${baseClass}__after-header`,
children: AfterHeader
}) : null]
});
};
//# sourceMappingURL=index.js.map