@Composable public fun OnlineIndicator(modifier: Modifier = Modifier) { Box( modifier = modifier .size(12.dp).background(ChatTheme.colors.appBackground, CircleShape).padding(2.dp).background(ChatTheme.colors.infoAccent, CircleShape) ) }
Component that represents an online indicator to be used with [io.getstream.chat.android.compose.ui.components.avatar.UserAvatar]. @param modifier Modifier for styling.