init
This commit is contained in:
35
mc_test/node_modules/@emotion/react/src/jsx-dev-runtime.js
generated
vendored
Executable file
35
mc_test/node_modules/@emotion/react/src/jsx-dev-runtime.js
generated
vendored
Executable file
@ -0,0 +1,35 @@
|
||||
// @flow
|
||||
import * as ReactJSXRuntimeDev from 'react/jsx-dev-runtime'
|
||||
import Emotion, { createEmotionProps } from './emotion-element'
|
||||
import { hasOwnProperty } from './utils'
|
||||
|
||||
export const Fragment = ReactJSXRuntimeDev.Fragment
|
||||
|
||||
export function jsxDEV(
|
||||
type: any,
|
||||
props: any,
|
||||
key: any,
|
||||
isStaticChildren: any,
|
||||
source: any,
|
||||
self: any
|
||||
) {
|
||||
if (!hasOwnProperty.call(props, 'css')) {
|
||||
return ReactJSXRuntimeDev.jsxDEV(
|
||||
type,
|
||||
props,
|
||||
key,
|
||||
isStaticChildren,
|
||||
source,
|
||||
self
|
||||
)
|
||||
}
|
||||
|
||||
return ReactJSXRuntimeDev.jsxDEV(
|
||||
Emotion,
|
||||
createEmotionProps(type, props),
|
||||
key,
|
||||
isStaticChildren,
|
||||
source,
|
||||
self
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user