Reference
@reckona/mreact/jsx-runtime
29 public exports.
Function
FunctioncreateReactiveDomBlock
function createReactiveDomBlock<P>(render: ReactiveDomBlockRender<P>, blockProps?: P): ReactCompatElement<ReactiveDomBlockProps>Functionjsxfunction jsx<P>(type: ElementType<P>, props: P & { children?: ReactCompatNode; key?: unknown; ref?: unknown } | null, key?: unknown): ReactCompatElement<P>Creates a single-child JSX element for the automatic JSX runtime.Functionjsxsfunction jsxs<P>(type: ElementType<P>, props: P & { children?: ReactCompatNode; key?: unknown; ref?: unknown } | null, key?: unknown): ReactCompatElement<P>Creates a multi-child JSX element for the automatic JSX runtime.Interface
InterfaceJSXDOMAttributes
interface JSXDOMAttributesDOM event attributes accepted by JSX elements.InterfaceJSXHTMLAttributesinterface JSXHTMLAttributesHTML attributes accepted by JSX host elements.InterfaceJSXIntrinsicAttributesinterface JSXIntrinsicAttributesAttributes accepted by every JSX element.InterfaceJSXIntrinsicElementsinterface JSXIntrinsicElementsBuilt-in JSX element names and their attribute types.InterfaceReactiveDomBlockPropsinterface ReactiveDomBlockPropsInterfaceReactiveDomBlockResultinterface ReactiveDomBlockResultNamespace
Re-export
Re-exportElementType
const ElementType: unknownRe-exportForwardRefTypeconst ForwardRefType: unknownRe-exportFragmentconst Fragment: unknownFragment marker used by the automatic JSX runtime.Re-exportLazyTypeconst LazyType: unknownRe-exportMemoTypeconst MemoType: unknownRe-exportReactCompatContextProviderShorthandconst ReactCompatContextProviderShorthand: unknownRe-exportReactCompatElementconst ReactCompatElement: unknownRe-exportReactCompatNodeconst ReactCompatNode: unknownRe-exportReactCompatPortalconst ReactCompatPortal: unknownRe-exportReactCompatProviderTypeconst ReactCompatProviderType: unknownRe-exportReactCompatRenderableElementconst ReactCompatRenderableElement: unknownType Alias
Type AliasDomRefCallback
type DomRefCallback = (element: Element): void | (): voidPost-commit callback for a compiler-owned intrinsic DOM element.Type AliasFormEventtype FormEvent = JSXEvent<TCurrentTarget, SubmitEvent>Submit event type used by form-related JSX attributes.Type AliasFormEventHandlertype FormEventHandler = JSXEventHandler<TCurrentTarget, SubmitEvent>Submit event handler type used by form-related JSX attributes.Type AliasJSXEventtype JSXEvent = TEvent & { currentTarget: TCurrentTarget }DOM event type with a narrowed currentTarget.Type AliasJSXEventHandlertype JSXEventHandler = (event: JSXEvent<TCurrentTarget, TEvent>): unknownEvent handler type used by JSX DOM attributes.Type AliasReactiveDomBlockRendertype ReactiveDomBlockRender = (props: P): ReactiveDomBlockResult