UiFactory<TProps extends UiProps> typedef

UiFactory<TProps extends UiProps> = TProps Function([Map? backingProps])

A function that returns a new TProps instance, optionally backed by the specified backingProps.

For use in wrapping existing Maps in typed getters and setters, and for creating React components via a fluent-style builder interface.

Implementation

typedef TProps UiFactory<TProps extends UiProps>([Map? backingProps]);