messageTopBar
fun messageTopBar(title: String?, navIcon: Painter? = painterResource(com.urbanairship.messagecenter.core.R.drawable.ua_ic_message_center_arrow_back), navIconDescription: String? = stringResource(CoreR.string.ua_back), actions: @Composable RowScope.() -> Unit = {}, onNavigateUp: () -> Unit = {}, scrollBehavior: TopAppBarScrollBehavior? = null)(source)
Top bar for the message screen.
Parameters
title
The title to display in the top bar.
navIcon
The navigation icon to display. If null, no navigation icon is displayed.
navIconDescription
The content description for the navigation icon.
actions
The actions to display in the top bar.
onNavigateUp
The callback to be invoked when the navigation icon is clicked.
scrollBehavior
The optional scroll behavior for the top bar.