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 7 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: { <TTag extends keyof KnownIntrinsicElementProps>(type: TTag, props: KnownIntrinsicElementProps[NoInfer<TTag>] | null, key?: string | number): JSXElement; <TTag extends OtherIntrinsicTag>(type: TTag, props: OtherIntrinsicProps<TTag> | 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.

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: { <TTag extends keyof KnownIntrinsicElementProps>(type: TTag, props: KnownIntrinsicElementProps[NoInfer<TTag>] | null, key?: string | number): JSXElement; <TTag extends OtherIntrinsicTag>(type: TTag, props: OtherIntrinsicProps<TTag> | 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.