RoutedContent
fun <C : @Serializable Any> RoutedContent(router: Router<C>, modifier: Modifier = Modifier, animation: StackAnimation<C, RouterContext>? = null, content: @Composable (C) -> Unit)
Composable to hoist content that are navigated by the router
Parameters
router
Router to be used
modifier
animation
StackAnimation used for transitions
content