MCPcopy Create free account
hub / github.com/emwalker/digraph / Subhead

Function Subhead

client/src/components/ui/Subhead/index.tsx:10–23  ·  view source on GitHub ↗
(props: Props)

Source from the content-addressed store, hash-verified

8}
9
10export default function Subhead(props: Props) {
11 const { heading, renderHeadingDetail } = props
12
13 useDocumentTitle(`${heading} | Digraph`)
14
15 return (
16 <div className="Subhead gutter">
17 <div className="Subhead-heading col-lg-12 col-12">
18 <div>{ heading }</div>
19 { renderHeadingDetail && renderHeadingDetail() }
20 </div>
21 </div>
22 )
23}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected