CometChatImageBubble
is the content view for a MediaMessage if the media sent is an image.
Properties | Type | Description |
---|---|---|
imageUrl | ImageType | The image to be displayed |
placeholderImage | ImageType | the path of the image from assets to display when the actual image is being fetched |
style | ImageBubbleStyle | used to customize appearance of this widget |
onPress | Function | custom action on tapping the image |
Properties | Type | Description |
---|---|---|
height | string | number | used to set height |
width | string | number | used to set width |
backgroundColor | string | used to set background colour |
border | BorderStyle | used to set border |
borderRadius | number | used to set border radius |