@tempots/ui

ResultView() function

Renders a view based on the result of a computation.

Signature:

ResultView: (result: Value<Result>, options: ResultViewOptions | ((value: Signal) => TNode)) => Renderable

Parameters

Parameter

Type

Description

result

Value>

The result of the computation.

options

ResultViewOptions | ((value: Signal) => TNode)

The options for rendering the view.

Returns: Renderable

The rendered view.