MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / Header

Function Header

apps/web/ui/ChannelView/Header/index.tsx:17–40  ·  view source on GitHub ↗
({
  className,
  channel,
  children,
  currentUser,
  api,
}: Props)

Source from the content-addressed store, hash-verified

15}
16
17export 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected