(props: { name: string; title: string; source?: string; children: ReactNode })
| 92 | } |
| 93 | |
| 94 | function Section(props: { name: string; title: string; source?: string; children: ReactNode }): JSX.Element { |
| 95 | return ( |
| 96 | <section |
| 97 | className="atlas-projects-section" |
| 98 | data-testid="atlas-projects-section" |
| 99 | data-section={props.name} |
| 100 | > |
| 101 | <h3 className="atlas-projects-section-title">{props.title}</h3> |
| 102 | {props.source !== undefined && ( |
| 103 | <p className="atlas-projects-source" data-testid="atlas-projects-source">{props.source}</p> |
| 104 | )} |
| 105 | {props.children} |
| 106 | </section> |
| 107 | ); |
| 108 | } |
| 109 | |
| 110 | type HealthState = ProjectHealth | 'asking'; |
| 111 |
nothing calls this directly
no outgoing calls
no test coverage detected