MenuOptionItem

fun MenuOptionItem(    modifier: Modifier = Modifier,     onClick: () -> Unit,     leadingIcon: @Composable RowScope.() -> Unit,     title: String,     titleColor: Color,     style: TextStyle = ChatTheme.typography.bodyBold,     itemHeight: Dp = 56.dp,     verticalAlignment: Alignment.Vertical = Alignment.CenterVertically,     horizontalArrangement: Arrangement.Horizontal = Arrangement.Start)

Represents a generic menu option item that can be used in a list of options.

Parameters

modifier

Modifier for styling.

onClick

Handler called when the item is clicked.

leadingIcon

The icon to show on the left side of the item.

title

The title of the item.

titleColor

The color of the title.

style

The style of the title.

itemHeight

The height of the item.

verticalAlignment

Used to apply vertical alignment.

horizontalArrangement

Used to apply horizontal arrangement.