You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							23 lines
						
					
					
						
							684 B
						
					
					
				
			
		
		
	
	
							23 lines
						
					
					
						
							684 B
						
					
					
				// @flow
 | 
						|
import * as ReactJSXRuntime from 'react/jsx-runtime'
 | 
						|
import Emotion, { createEmotionProps } from './emotion-element'
 | 
						|
import { hasOwnProperty } from './utils'
 | 
						|
 | 
						|
export const Fragment = ReactJSXRuntime.Fragment
 | 
						|
 | 
						|
export function jsx(type: any, props: any, key: any) {
 | 
						|
  if (!hasOwnProperty.call(props, 'css')) {
 | 
						|
    return ReactJSXRuntime.jsx(type, props, key)
 | 
						|
  }
 | 
						|
 | 
						|
  return ReactJSXRuntime.jsx(Emotion, createEmotionProps(type, props), key)
 | 
						|
}
 | 
						|
 | 
						|
export function jsxs(type: any, props: any, key: any) {
 | 
						|
  if (!hasOwnProperty.call(props, 'css')) {
 | 
						|
    return ReactJSXRuntime.jsxs(type, props, key)
 | 
						|
  }
 | 
						|
 | 
						|
  return ReactJSXRuntime.jsxs(Emotion, createEmotionProps(type, props), key)
 | 
						|
}
 |