Skip to content

Type Alias: DomComponentRenderer

API / @xmachines/play-dom / DomComponentRenderer

type DomComponentRenderer = (element, ctx) => HTMLElement | Text | null;

Defined in: packages/play-dom/src/json-render/types.ts:298

Parameters

ParameterType
elementUIElement
ctxDomRenderContext

Returns

HTMLElement | Text | null