Ein Abschnitt der Seite, mit seiner Ueberschrift und seinem Namen im DOM.
(props: { name: string; title: string; children: ReactNode })
| 142 | |
| 143 | /** Ein Abschnitt der Seite, mit seiner Ueberschrift und seinem Namen im DOM. */ |
| 144 | function Section(props: { name: string; title: string; children: ReactNode }): JSX.Element { |
| 145 | return ( |
| 146 | <section className="atlas-help-section" data-testid="atlas-help-section" data-section={props.name}> |
| 147 | <h3 className="atlas-help-section-title">{props.title}</h3> |
| 148 | {props.children} |
| 149 | </section> |
| 150 | ); |
| 151 | } |
| 152 | |
| 153 | export default function HelpOverlay(props: HelpOverlayProps): JSX.Element { |
| 154 | const root = useRef<HTMLDivElement | null>(null); |
nothing calls this directly
no outgoing calls
no test coverage detected