@OptIn(ExperimentalMaterialApi::class) @Composableinternal fun DefaultChannelListHeaderTrailingContent(onHeaderActionClick: () -> Unit,) {Surface(modifier =Modifier.size(40.dp), onClick = onHeaderActionClick,interactionSource = remember { MutableInteractionSource() },color = ChatTheme.colors.primaryAccent,shape = ChatTheme.shapes.avatar,elevation = 4.dp) {Icon(modifier = Modifier.wrapContentSize(),painter = painterResource(id = R.drawable.stream_compose_ic_new_chat),contentDescription = stringResource(id = R.string.stream_compose_channel_list_header_new_chat),tint = Color.White,)}}
Represents the default trailing content for the [ChannelListHeader], which is an action icon.