TabItem
CometChatTabItem
is a pre-defined structure for creating a tab item that can be part of tabbed interface.
Structure of a TabItem
Name | Type | Description |
---|---|---|
id | string | Identifier for the tab |
title | string | Heading text for the tab |
iconURL | string | Asset URL for the icon to symbolize a tab |
isActive | boolean | When set to true, represents the active state of the tab |
childView | any | User-defined view to be displayed when clicks on the particular tab |
style | TabItemStyle | Styling properties and values of each tab item |