ui/client/features/wizard/components/ProjectPathPicker
Cockpit client (features), v0.9. Source: ui/client/features/wizard/components/ProjectPathPicker.tsx.
Functions#
ProjectPathPicker()#
ProjectPathPicker(
__namedParameters):Element
Defined in: ui/client/features/wizard/components/ProjectPathPicker.tsx:19
Props#
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
tree |
`ProjectTree | null` | Yes | — |
crumbs |
Crumb[] |
Yes | — | |
expects |
PathExpectation |
Yes | — | |
loading |
boolean |
Yes | — | |
error |
string |
Yes | — | |
canChooseEntry |
(entry: ProjectTreeEntry) => boolean |
Yes | — | |
hintFor |
(entry: ProjectTreeEntry) => string |
Yes | — | |
onOpen |
(path: string) => void |
Yes | — | |
onChoose |
(path: string) => void |
Yes | — | |
onClose |
() => void |
Yes | — |
Returns#
Element