Bottom Navigation Bar
fun BottomNavigationBar(icons: List<Int> = defaultIcons, selectedItem: Int = 0, onItemSelected: (Int) -> Unit, iconColor: Color = Color.Black, selectedIconColor: Color = Color.Black, containerColor: Color = Color.Gray, onToggleSheet: (Int) -> Unit = {})
Bottom navigation bar that contains the icons of the different sections of the app
Return
a composable that represents the bottom navigation bar
Parameters
icons
the list of icons that represent the different sections of the app
selected Item
the selected item in the bottom navigation bar
on Item Selected
the callback that is called when an item is selected