MCPcopy
hub / github.com/system-ui/theme-ui / jsx

Function jsx

packages/core/src/index.ts:39–43  ·  view source on GitHub ↗
(
  type: React.FunctionComponent<P> | React.ComponentClass<P> | string,
  props: React.Attributes & P,
  ...children: React.ReactNode[]
)

Source from the content-addressed store, hash-verified

37const __EMOTION_VERSION__ = packageInfo.version
38
39export const jsx: typeof React.createElement = <P extends {}>(
40 type: React.FunctionComponent<P> | React.ComponentClass<P> | string,
41 props: React.Attributes & P,
42 ...children: React.ReactNode[]
43): any => emotionJsx(type, parseProps(props), ...children)
44
45/**
46 * @internal for Babel JSX pragma

Callers 14

componentFunction · 0.90
componentFunction · 0.90
index.tsxFile · 0.90
GlobalColorStylesFunction · 0.90
NestedColorModeProviderFunction · 0.90
InitializeColorModeFunction · 0.90
RootStylesFunction · 0.90
index.tsxFile · 0.90
DarkModeButtonFunction · 0.90
BaseStylesFunction · 0.90
GlobalFunction · 0.90

Calls 1

parsePropsFunction · 0.90

Tested by

no test coverage detected