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

17 lines
639 B
Plaintext

/**
* Renders a CustomComponent or a Fallback component.
* Only fallback if the Custom Component is undefined.
*
* If the CustomComponent is null, render null.
*
* @param {Object} args - Arguments object.
* @param {React.ReactNode} [args.CustomComponent] - Optional custom component to render.
* @param {React.ReactNode} args.Fallback - Fallback component to render if CustomComponent is undefined.
* @returns {React.ReactNode} Rendered component.
*/export function RenderCustomComponent({
CustomComponent,
Fallback
}) {
return CustomComponent !== undefined ? CustomComponent : Fallback;
}
//# sourceMappingURL=index.js.map