Root

fun Root(appState: AppState, setRootLocals: Boolean, dialogs: @Composable () -> Unit = {}, content: @Composable () -> Unit)

the main app composable

Parameters

appState

the app state to use, which is provided via composition local

dialogs

to show, which are rendered inside the root composable

debugDrawer

the content of the debug drawer

content

the main content of the app