@tempots/dom

Renderable type

Represents a function that can be rendered in the DOM.

Signature:

export type Renderable = (ctx: DOMContext) => Clear;

References: DOMContext, Clear