Skip to main content
Version: v4

Text Bubble

CometChatTextBubble is the content view shown for TextMessage.

Properties

PropertiesTypeDescription
textStringthe text to display
styleTextBubbleStyleused to customize appearance of this widget

TextBubbleStyle

TextBubbleStyle is the class containing attributes to customize appearance of this widget.

PropertiesTypeDescription
textFontFontStyleused to set font style of the text of the message
textColorstringused to set text colour of the message
heightnumberused to set height
widthnumberused to set width
backgroundColorstringused to set background colour
borderBoxBorderused to set border
borderRadiusdoubleused to set border radius

Usage

<CometChatTextBubble
text=' Hi! how are you?',
style={{
backgroundColor: 'cyan'
}}
/>