DrawerItem

fun DrawerItem(label: String, onClick: () -> Unit)

Composable function for creating a standard item in the navigation drawer.

Parameters

label

The text to display for the drawer item.

onClick

Lambda function to be executed when the drawer item is clicked.