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

Class Container

client/src/components/RecentPage/Container/index.tsx:8–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6}
7
8class Container extends Component<Props> {
9 get title(): string {
10 return this.props.title
11 ? `Recent activity within ${this.props.title}`
12 : 'Recent activity'
13 }
14
15 render = () => (
16 <>
17 <div className="Subhead clearfix gutter">
18 <div className="Subhead-heading col-lg-8 col-12">
19 { this.title }
20 </div>
21 </div>
22 <div className="Box Box--condensed">
23 <div className="Box-header">
24 <h3 className="Box-title overflow-hidden flex-auto">
25 Activity
26 </h3>
27 </div>
28 { this.props.children }
29 </div>
30 </>
31 )
32}
33
34export default Container

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected