MembersTopBar

fun MembersTopBar(modifier: Modifier = Modifier, onNavigationIconClick: () -> Unit = {}, onActionClick: () -> Unit = {}, title: @Composable () -> Unit = { TopBarTitleText( stringResource(id = R.string.sb_text_header_member_list), modifier = Modifier.padding(12.dp) ) }, navigationIcon: @Composable () -> Unit = { BackButton(onClick = onNavigationIconClick) }, action: @Composable () -> Unit = { SendbirdIconButton( icon = painterResource(id = R.drawable.icon_plus), contentDescription = stringResource(id = R.string.sb_view_header_right_button_description), modifier = Modifier.size(32.dp), onClick = onActionClick ) })

Represents the top bar for the MembersScreen.

Since

1.0.0-beta.1

Parameters

modifier

The modifier to be applied to the view.

onNavigationIconClick

The handler for when the navigation icon is clicked.

onActionClick

The handler for when the action is clicked.

title

The title Composable to be displayed on the top bar. Defaults to TopBarTitleText with R.string.sb_text_header_member_list.

navigationIcon

The icon Composable to be displayed on the top bar's navigation icon. Defaults to BackButton.

action

The action Composable to be displayed on the top bar. Defaults to SendbirdIconButton with R.drawable.icon_plus.

See also