Skip to main content Link Search Menu Expand Document (external link)

jsx-runtime overview

Added in v0.0.0


Table of contents


models

JsxElement (type alias)

JSX element representation returned by the jsx helpers.

Signature

export type JsxElement = internal.JsxElement

Added in v0.0.0

JsxKey (type alias)

The key associated with a JSX element when reconciling collections.

Signature

export type JsxKey = internal.JsxKey

Added in v0.0.0

JsxProps (type alias)

Props record accepted by JSX elements.

Signature

export type JsxProps = internal.JsxProps

Added in v0.0.0

JsxRef (type alias)

Reference value attached to JSX elements.

Signature

export type JsxRef = internal.JsxRef

Added in v0.0.0

utils

Fragment

JSX Fragment symbol for @jsxImportSource @effect-native/patterns

Signature

export declare const Fragment: symbol

Added in v0.0.0

JSX (namespace)

Ambient JSX namespace mapping tags to props for this runtime.

Added in v0.0.0

IntrinsicElements (interface)

Intrinsic element map enabling arbitrary tag names.

Signature

export interface IntrinsicElements {
  [anything: string]: internal.JsxProps
}

Added in v0.0.0

Element (type alias)

JSX element type surfaced to consumers.

Signature

export type Element = internal.JsxElement | ExoticComponent | any

Added in v0.0.0

jsx

JSX factory for single child trees.

Signature

export declare const jsx: (
  type: unknown,
  props: Record<string, unknown> | null | undefined,
  key?: unknown
) => internal.JsxElement

Added in v0.0.0

jsxs

JSX factory for multiple child trees.

Signature

export declare const jsxs: (
  type: unknown,
  props: Record<string, unknown> | null | undefined,
  key?: unknown
) => internal.JsxElement

Added in v0.0.0