ProfileRow

fun ProfileRow(title: String, onClick: () -> Unit, modifier: Modifier = Modifier, leadingIcon: @Composable () -> Unit)

Displays a clickable row for navigating between profile options.

Parameters

title

The text displayed in the profile row.

onClick

Callback invoked when the user clicks the row.

modifier

Modifier used to customize the row's layout and appearance.

leadingIcon

Composable function that displays the icon at the beginning of the row.