MessageBubble

fun MessageBubble(color: Color, shape: Shape, modifier: Modifier = Modifier, border: BorderStroke? = BorderStroke(1.dp, ChatTheme.colors.borders), contentPadding: PaddingValues = PaddingValues(), content: @Composable () -> Unit)

Wraps the content of a message in a bubble.

Parameters

color

The color of the bubble.

shape

The shape of the bubble.

modifier

Modifier for styling.

border

The optional border of the bubble.

contentPadding

Padding values to be applied to the content inside the bubble.

content

The content of the message.