JetpackActionBar
fun JetpackActionBar(@StringRes titleRes: Int, @StringRes actionRes: Int, onActionClick: () -> Unit, onNavigateBackClick: () -> Unit, modifier: Modifier = Modifier, colors: TopAppBarColors = TopAppBarDefaults.topAppBarColors())
A Jetpack Compose top app bar with a title, navigation icon, and action button.
Parameters
titleRes
The string resource ID for the title of the top app bar.
actionRes
The string resource ID for the action button.
onActionClick
The callback when the action button is clicked.
onNavigateBackClick
The callback when the navigation icon is clicked.
colors
The colors for this top app bar.
modifier
The modifier for this top app bar.