TopBarActionIcon

fun TopBarActionIcon(icon: ImageVector, tint: Color = Color.Unspecified, contentDescription: String = "", onClick: () -> Unit)

A composable function that renders an action icon within the TopBar.

Parameters

icon

The ImageVector representing the icon to be displayed.

tint

The tint color for the icon. Default is Color.Unspecified.

contentDescription

A description of the icon for accessibility purposes.

onClick

The callback to be invoked when the icon is clicked.