PHP 8.2.30
Preview: jsx-runtime.ts Size: 924 B
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/@emotion/react/src/jsx-runtime.ts

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
  )
}

Directory Contents

Dirs: 1 × Files: 16

Name Size Perms Modified Actions
- drwxr-xr-x 2026-02-28 00:30:22
Edit Download
4.50 KB lrw-r--r-- 2026-02-28 00:30:24
Edit Download
2.49 KB lrw-r--r-- 2026-02-28 00:30:26
Edit Download
423 B lrw-r--r-- 2026-02-28 00:30:08
Edit Download
4.99 KB lrw-r--r-- 2026-02-28 00:30:26
Edit Download
1.61 KB lrw-r--r-- 2026-02-28 00:30:12
Edit Download
4.49 KB lrw-r--r-- 2026-02-28 00:30:26
Edit Download
2.08 KB lrw-r--r-- 2026-02-28 00:30:14
Edit Download
826 B lrw-r--r-- 2026-02-28 00:30:14
Edit Download
4.23 KB lrw-r--r-- 2026-02-28 00:30:16
Edit Download
924 B lrw-r--r-- 2026-02-28 00:30:16
Edit Download
1.55 KB lrw-r--r-- 2026-02-28 00:30:16
Edit Download
654 B lrw-r--r-- 2026-02-28 00:30:20
Edit Download
2.85 KB lrw-r--r-- 2026-02-28 00:30:28
Edit Download
544 B lrw-r--r-- 2026-02-28 00:30:24
Edit Download
40 B lrw-r--r-- 2026-02-28 00:30:24
Edit Download
650 B lrw-r--r-- 2026-02-28 00:30:08
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).