Askr documentation
Generated API snapshot

@askrjs/askr/jsx-runtime

Exports from the declarations published in @askrjs/askr. Signatures reflect the published artifact.

Exports

This entrypoint publishes 8 exports. Use the anchored symbol rows for direct links. Type-only exports are labeled separately from runtime values.

Fragmenttype

Fragment: typeof Fragment

The element type marker for JSX fragments (`<>...</>`), groups children without a wrapper element.

jsxtype

jsx: { (type: EagerControlPrimitive, props: Props | null, key?: string | number): unknown; <TTag extends keyof KnownIntrinsicElementProps>(type: TTag, props: KnownIntrinsicElementProps[TTag] | null, key?: string | number): JSXElement; <TTag extends string>(type: Exclude<TTag, keyof KnownIntrinsicElementProps>, props: IntrinsicFallbackProps | null, key?: string | number): JSXElement; <TProps extends object>(type: (props: TProps) => unknown, props: TProps | null, key?: string | number): JSXElement; (type: symbol, props: Props | null, key?: string | number): JSXElement; }

JSX factory for elements with a single or no child, used by the `jsxImportSource` transform.

JSXtype

JSX: any

JSXComponenttype

JSXComponent: {
  bivarianceHack(props: TProps): unknown;
}['bivarianceHack']

A component function accepting `TProps`, usable as a JSX element's `type`.

jsxDEVtype

jsxDEV: { (type: EagerControlPrimitive, props: Props | null, key?: string | number, isStaticChildren?: boolean): unknown; <TTag extends keyof KnownIntrinsicElementProps>(type: TTag, props: KnownIntrinsicElementProps[TTag] | null, key?: string | number, isStaticChildren?: boolean): JSXElement; <TTag extends string>(type: Exclude<TTag, keyof KnownIntrinsicElementProps>, props: IntrinsicFallbackProps | null, key?: string | number, isStaticChildren?: boolean): JSXElement; <TProps extends object>(type: (props: TProps) => unknown, props: TProps | null, key?: string | number, isStaticChildren?: boolean): JSXElement; (type: symbol, props: Props | null, key?: string | number, isStaticChildren?: boolean): JSXElement; }

JSXElementtype

JSXElement: any

The vnode shape produced by JSX/`jsx()` calls.

$typeof
Internal element marker
type
Element type: string, component, Fragment, etc
props
Props bag
key
Optional key (normalized by runtime)

JSXElementTypetype

JSXElementType: string | JSXComponent | symbol

Valid `type` values for a JSX element: a tag name, a component, or a symbol (e.g. `Fragment`).

jsxstype

jsxs: { (type: EagerControlPrimitive, props: Props | null, key?: string | number): unknown; <TTag extends keyof KnownIntrinsicElementProps>(type: TTag, props: KnownIntrinsicElementProps[TTag] | null, key?: string | number): JSXElement; <TTag extends string>(type: Exclude<TTag, keyof KnownIntrinsicElementProps>, props: IntrinsicFallbackProps | null, key?: string | number): JSXElement; <TProps extends object>(type: (props: TProps) => unknown, props: TProps | null, key?: string | number): JSXElement; (type: symbol, props: Props | null, key?: string | number): JSXElement; }

JSX factory for elements with multiple static children, used by the `jsxImportSource` transform.