Changeset View
Changeset View
Standalone View
Standalone View
web/chat/thread-top-bar.react.js
Show All 28 Lines | function ThreadTopBar(props: ThreadTopBarProps): React.Node { | ||||
const { uiName } = useResolvedThreadInfo(threadInfo); | const { uiName } = useResolvedThreadInfo(threadInfo); | ||||
return ( | return ( | ||||
<div className={css.topBarContainer}> | <div className={css.topBarContainer}> | ||||
<div className={css.topBarThreadInfo}> | <div className={css.topBarThreadInfo}> | ||||
<div | <div | ||||
className={css.threadColorSquare} | className={css.threadColorSquare} | ||||
style={threadBackgroundColorStyle} | style={threadBackgroundColorStyle} | ||||
/> | /> | ||||
<p className={css.threadTitle}>{uiName}</p> | <div className={css.threadTitle}>{uiName}</div> | ||||
</div> | </div> | ||||
{threadMenu} | {threadMenu} | ||||
</div> | </div> | ||||
); | ); | ||||
} | } | ||||
export default ThreadTopBar; | export default ThreadTopBar; |