Changeset View
Changeset View
Standalone View
Standalone View
web/chat/chat-tabs.react.js
Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | () => ( | ||||
{chatThreadList} | {chatThreadList} | ||||
</Tabs.Item> | </Tabs.Item> | ||||
), | ), | ||||
[backgroundTitle, chatThreadList], | [backgroundTitle, chatThreadList], | ||||
); | ); | ||||
return ( | return ( | ||||
<div className={css.container}> | <div className={css.container}> | ||||
<Tabs.Container activeTab={activeTab} setTab={setActiveChatTab}> | <Tabs.Container | ||||
activeTab={activeTab} | |||||
setTab={setActiveChatTab} | |||||
headerStyle="pill" | |||||
> | |||||
{focusTabsItem} | {focusTabsItem} | ||||
{backgroundTabsItem} | {backgroundTabsItem} | ||||
</Tabs.Container> | </Tabs.Container> | ||||
</div> | </div> | ||||
); | ); | ||||
} | } | ||||
export default ChatTabs; | export default ChatTabs; |