ui/client/features/diagnostics/controllers/DiagnosticsController
Cockpit client (features), next. Source: ui/client/features/diagnostics/controllers/DiagnosticsController.tsx.
Functions#
DiagnosticsController()#
DiagnosticsController(
__namedParameters):Element
Defined in: ui/client/features/diagnostics/controllers/DiagnosticsController.tsx:10
The Diagnostics tab body. The run state is owned by the caller (the shell also needs it for the tab badge, status bar and palette), so it is passed in (see useDiagnostics).
Props#
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
diagnostics |
DiagnosticsApi |
Yes | — | |
onOpenPage |
(target: PageTarget, line: number) => void |
Yes | — |
Returns#
Element