@reintent/core/jsx-runtime
The automatic JSX runtime (`jsxImportSource: '@reintent/core'`): the same elements `h` makes, and a lowercase tag is a host node of that kind (`<div>` is `host('div', …)`).
The JSX namespace lives here, scoped to the files that ask for this runtime, so it never meets React's.
Namespace JSX
Interfaces
ElementChildrenAttribute
Defined in: packages/core/src/jsx-runtime.ts
Properties
IntrinsicAttributes
Defined in: packages/core/src/jsx-runtime.ts
Properties
IntrinsicElements
Defined in: packages/core/src/jsx-runtime.ts
The lowercase tags: the host kinds the application declares in HostElements.
Extends
Type Aliases
Element
type Element = IntentElement;Defined in: packages/core/src/jsx-runtime.ts
ElementType
type ElementType =
| Component
| typeof Fragment
| keyof IntrinsicElements;Defined in: packages/core/src/jsx-runtime.ts
Variables
jsxDEV
const jsxDEV: (type, props, key?) => IntentElement = jsx;Defined in: packages/core/src/jsx-runtime.ts
Parameters
| Parameter | Type |
|---|---|
type | | string | typeof Fragment | Component<any> |
props | Record<string, unknown> |
key? | string | number |
Returns
jsxs
const jsxs: (type, props, key?) => IntentElement = jsx;Defined in: packages/core/src/jsx-runtime.ts
Parameters
| Parameter | Type |
|---|---|
type | | string | typeof Fragment | Component<any> |
props | Record<string, unknown> |
key? | string | number |
Returns
Functions
jsx()
function jsx(
type,
props,
key?
): IntentElement;Defined in: packages/core/src/jsx-runtime.ts
Parameters
| Parameter | Type |
|---|---|
type | | string | typeof Fragment | Component<any> |
props | Record<string, unknown> |
key? | string | number |
Returns
References
Fragment
Re-exports Fragment
Last updated on
Edit on GitHub