TopAppBarActionButton

fun TopAppBarActionButton(iconResId: Int, description: String, enabled: Boolean = true, onPressed: () -> Unit)

Component responsible to display a button as icon.

Parameters

iconResId

the icon id from resources.

description

the description of the icon action for accessibility.

enabled

whether the icon is enable.

onPressed

fired then whe button was pressed.