({
className,
channel,
children,
currentUser,
api,
}: Props)
| 15 | } |
| 16 | |
| 17 | export default function Header({ |
| 18 | className, |
| 19 | channel, |
| 20 | children, |
| 21 | currentUser, |
| 22 | api, |
| 23 | }: Props) { |
| 24 | return ( |
| 25 | <StickyHeader id="chat-layout-header" className={className}> |
| 26 | <div className={styles.header}> |
| 27 | <div className={styles.title}> |
| 28 | #{channel.channelName} |
| 29 | <IntegrationsModalUI.ShowIntegrationDetail |
| 30 | api={api} |
| 31 | channel={channel} |
| 32 | isUserAuthenticated={!!currentUser?.id} |
| 33 | key={channel.id} |
| 34 | /> |
| 35 | </div> |
| 36 | </div> |
| 37 | {children} |
| 38 | </StickyHeader> |
| 39 | ); |
| 40 | } |
nothing calls this directly
no outgoing calls
no test coverage detected