setContent

fun KewtApp.setContent(content: ViewScope.() -> Unit)(source)

Sets the high-level UI content for the application.

This function initializes a persistent ViewScope that manages component state and memoization across render passes.

Parameters

content

A lambda that defines the UI hierarchy.