ui/client/features/pages-editor/components/InspectorPanel
Cockpit client (features), next. Source: ui/client/features/pages-editor/components/InspectorPanel.tsx.
Functions#
InspectorPanel()#
InspectorPanel(
__namedParameters):Element
Defined in: ui/client/features/pages-editor/components/InspectorPanel.tsx:43
Props#
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
feature |
string |
Yes | — | |
file |
string |
Yes | — | |
node |
`PagesEditorNode | null` | Yes | — |
contentHash |
string |
Yes | — | |
onSaved |
(tree: PageTree) => void |
Yes | — | |
withScope |
boolean |
No | true |
Show the scope links inline (default). The shell shows them as their own Scope tab instead. |
impact |
`PageImpact | null` | No | null |
testsCoverage |
`PageTestsCoverage | null` | No | null |
findings |
`FileFindings | null` | No | null |
openFindingId |
`string | null` | No | null |
diagnostics |
`PageDiagnostics | null` | No | null |
nodeNotes |
`NodeNotes | null` | No | null |
onCreateNote |
(title: string) => void |
No | () => {} |
Returns#
Element