AppDrawer

fun AppDrawer(items: List<DrawerItem>, selectedRoute: String, onItemSelected: (DrawerItem) -> Unit, modifier: Modifier = Modifier)

A custom navigation drawer content component.

Parameters

items

The list of DrawerItem to be displayed in the drawer.

selectedRoute

The route of the currently selected item.

onItemSelected

Callback invoked when an item is clicked.

modifier

The Modifier to be applied to the drawer content.