ui/client/features/pages-editor/components/PagesBrowser
Cockpit client (features), v0.9. Source: ui/client/features/pages-editor/components/PagesBrowser.tsx.
Functions#
PagesBrowser()#
PagesBrowser(
__namedParameters):Element
Defined in: ui/client/features/pages-editor/components/PagesBrowser.tsx:20
Props#
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
feature |
string |
Yes | — | |
onFeatureChange |
(feature: string) => void |
Yes | — | |
features |
string[] |
Yes | — | |
file |
string |
Yes | — | |
onOpen |
(file: string) => void |
Yes | — | |
files |
string[] |
Yes | — | |
loading |
boolean |
Yes | — | |
showPages |
boolean |
No | true |
False in the Flow view, which shows the feature picker without the pages list. |
panel |
boolean |
No | true |
False in the Files view: rendered as the content of PagesBrowserTab's shared |
.pages-browser section instead of its own GlassPanel card. The Flow view's call |
||||
site (showPages={false}) keeps the default, unchanged standalone-card rendering. |
Returns#
Element