@Composable public fun CoolDownIndicator( coolDownTime: Int, modifier: Modifier = Modifier, ) {Box( modifier = modifier.size(48.dp).padding(12.dp).background(shape = RoundedCornerShape(24.dp), color = ChatTheme.colors.disabled),contentAlignment = Alignment.Center) {Text(text = coolDownTime.toString(),color = Color.White,textAlign = TextAlign.Center,style = ChatTheme.typography.bodyBold)}}
Represent a timer that show the remaining time until the user is allowed to send the next message.