Reference

Await

Renders the fulfilled, rejected, or placeholder state of a deferred value.

Signature

function Await<T>(props: { catch?: (error: Error): ReactCompatNode; children?: (value: Awaited<T>): ReactCompatNode; placeholder?: ReactCompatNode; placeholderAs?: string; value: T | PromiseLike<T> }): ReactCompatElement