node_modules ignore

This commit is contained in:
2025-05-08 23:43:47 +02:00
parent e19d52f172
commit 4574544c9f
65041 changed files with 10593536 additions and 0 deletions

32
server/node_modules/@emotion/react/src/jsx-runtime.ts generated vendored Normal file
View File

@@ -0,0 +1,32 @@
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
)
}