Represents a composable UI for the given UiState. Conventionally, this should just be the return type of a ui function and a thin shim over a "real" implementation.
Due to this bug in Studio, we can't write lambda impls of Ui directly. This works around it by offering a shim function of the same name. Once it's fixed, we can remove this and make Ui a fun interface instead.