MenuOptionItem
open fun MenuOptionItem(modifier: Modifier, onClick: () -> Unit, leadingIcon: @Composable RowScope.() -> Unit, title: String, titleColor: Color, style: TextStyle, itemHeight: Dp, verticalAlignment: Alignment.Vertical, horizontalArrangement: Arrangement.Horizontal)
Factory method for creating a generic menu option item.
Parameters
modifier
The modifier for the menu item.
title
The title of the menu item.
titleColor
The color of the title.
leadingIcon
The leading icon of the menu item.
onClick
Callback for when the menu item is clicked.