Documentation Index
Fetch the complete documentation index at: https://cometchat-22654f5b-docs-android-v6-beta2.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
CometChatImageBubble is the content view for a MediaMessage if the media sent is an image.
Properties
| 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 |
ImageBubbleStyle
ImageBubbleStyle is the class containing attributes to customize appearance of this widget.| 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 |
Usage
- TypeScript