ui/client/features/dashboard/components/LayerCheckboxes
Cockpit client (features), v0.8. Source: ui/client/features/dashboard/components/LayerCheckboxes.tsx.
Functions#
LayerCheckboxes()#
LayerCheckboxes(
__namedParameters):Element
Defined in: ui/client/features/dashboard/components/LayerCheckboxes.tsx:16
Presentation-only — shared between CreateForm's "layer" kind and
ImportForm, exactly as it was before this migration (one component,
two call sites) rather than duplicated. options is handed down from
the hook (via the page) instead of being imported from the domain layer
directly — components may not import domain (COMPONENT-003).
Props#
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
selected |
string[] |
Yes | — | |
onToggle |
(layer: string) => void |
Yes | — | |
options |
unknown |
Yes | — |
Returns#
Element