Line

You are reading docs for v0.8. See latest (v0.9)

ui/client/features/feature-catalog/hooks/useFeatureSummary

Cockpit client (features), v0.8. Source: ui/client/features/feature-catalog/hooks/useFeatureSummary.tsx.

Functions#

useFeatureSummary()#

useFeatureSummary(name): object

Defined in: ui/client/features/feature-catalog/hooks/useFeatureSummary.tsx:11

The details of one feature (its unit summary), or null with nothing selected. reload retries after a failure.

Parameters#

name

string | null

Returns#

object

error

error: string | null

loading

loading: boolean

reload

reload: () => void

Returns

void

view

view: FeatureView | null