Files
klz-cables.com/.pnpm-store/v10/files/22/4dc43d76aee5ef110b0f9d24b28d94f69befcf12c596c33974c022d6e7dcc1d726f6ab610f22071b6a97ae43351a978fd1cfd48ca4d7d61c4cb65d59e9bee1
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

33 lines
924 B
Plaintext

import * as ReactJSXRuntime from 'react/jsx-runtime'
import Emotion, { createEmotionProps } from './emotion-element'
import { hasOwn } from './utils'
import { Interpolation } from '@emotion/serialize'
import { Theme } from './theming'
export type { EmotionJSX as JSX } from './jsx-namespace'
export const Fragment = ReactJSXRuntime.Fragment
export const jsx: typeof ReactJSXRuntime.jsx = (type, props, key) => {
if (!hasOwn.call(props, 'css')) {
return ReactJSXRuntime.jsx(type, props, key)
}
return ReactJSXRuntime.jsx(
Emotion,
createEmotionProps(type, props as { css: Interpolation<Theme> }),
key
)
}
export const jsxs: typeof ReactJSXRuntime.jsxs = (type, props, key) => {
if (!hasOwn.call(props, 'css')) {
return ReactJSXRuntime.jsxs(type, props, key)
}
return ReactJSXRuntime.jsxs(
Emotion,
createEmotionProps(type, props as { css: Interpolation<Theme> }),
key
)
}