Line

ui/client/features/component-docs/hooks/useComponentList

Cockpit client (features), v0.9. Source: ui/client/features/component-docs/hooks/useComponentList.tsx.

Functions#

useComponentList()#

useComponentList(): object

Defined in: ui/client/features/component-docs/hooks/useComponentList.tsx:10

Every component of the open project, for the Browser pane. reload is the error state's one next action.

Returns#

object

components

components: ComponentEntry[]

error

error: string

reload

reload: () => void = load

Returns

void

status

status: "loading" | "ready" | "error"