download
raw
826 Bytes
import * as ReactJSXRuntimeDev from 'react/jsx-dev-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 = ReactJSXRuntimeDev.Fragment
export const jsxDEV: typeof ReactJSXRuntimeDev.jsxDEV = (
type,
props,
key,
isStaticChildren,
source,
self
) => {
if (!hasOwn.call(props, 'css')) {
return ReactJSXRuntimeDev.jsxDEV(
type,
props,
key,
isStaticChildren,
source,
self
)
}
return ReactJSXRuntimeDev.jsxDEV(
Emotion,
createEmotionProps(type, props as { css: Interpolation<Theme> }),
key,
isStaticChildren,
source,
self
)
}

Xet Storage Details

Size:
826 Bytes
·
Xet hash:
4959a1b74a07ebdf31a717f862dc8fcd0a8a745b7099b39528c673ad1d7f8817

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.