addStaticUi

inline fun <S : Screen, UiState : CircuitUiState> addStaticUi(crossinline content: @Composable (screen: S, modifier: Modifier) -> Unit): Circuit.Builder(source)

Adds a static UI that does not require a presenter. This is useful for screens that do not have computed state. They can either be stateless or use the given screen as an input for its state.

When this is used, no corresponding Presenter needs to be added. Internally, an inert one is created for linking purposes but is never used.