-
Notifications
You must be signed in to change notification settings - Fork 0
navigation
milan jurkulák edited this page May 2, 2024
·
1 revision
//tvlib/org.mjdev.tvlib.ui.components.navigation/Navigation
[androidJvm]\
fun Navigation(modifier: Modifier = Modifier, menuItems: List<MenuItem> = if (isEditMode()) listOf( MenuItem.MENU_ITEM_EXIT, MenuItem.MENU_ITEM_SETTINGS, MenuItem.MENU_ITEM_SEARCH ) else listOf(), modal: Boolean = isPortraitMode(), backgroundColor: Color = Color.Black.copy(alpha = 0.7f), navController: NavHostControllerEx = rememberNavControllerEx(menuItems), minPortraitMenuWidth: Dp = 4.dp, content: @Composable() -> Unit = { Page() })