| 6 | } |
| 7 | |
| 8 | class 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 | |
| 34 | export default Container |
nothing calls this directly
no outgoing calls
no test coverage detected