Skip to main content

TabItem

CometChatTabItem is a pre-defined structure for creating a tab item that can be part of tabbed interface.

Structure of a TabItem

NameTypeDescription
idstringIdentifier for the tab
titlestringHeading text for the tab
iconURLstringAsset URL for the icon to symbolize a tab
isActivebooleanWhen set to true, represents the active state of the tab
childViewanyUser-defined view to be displayed when clicks on the particular tab
styleTabItemStyleStyling properties and values of each tab item