Skip to main content
Version: v4

Status Indicator

CometChatStatusIndicator is a customised component which indicates whether user is online or offline.

Image

How to integrate CometChatStatusIndicator ?

<CometChatStatusIndicator
backgroundImage={statusIndicatorIcon}
style={{height: 20, width: 20}}
backgroundColor={"green"}
/>

Properties

PropertiesTypeDescription
backgroundImageImageTypesets image to be shown
styleStyleProp<ViewStyle>used to customise the statusIndicator
backgroundColorstringused to set the background colour of statusIndicator view