@tempots/dom
Consumer type
Represents a consumer function that takes a callback function and returns a renderable object. The callback function takes a value of type T and returns a TNode.
Signature:
export type Consumer = (fn: (value: T) => TNode) => Renderable;
References: TNode, Renderable