Line

You are reading the unreleased docs (next). See latest (v0.9)

ui/client/features/directory-browser/controllers/DirectoryBrowserController

Cockpit client (features), next. Source: ui/client/features/directory-browser/controllers/DirectoryBrowserController.tsx.

Functions#

DirectoryBrowserController()#

DirectoryBrowserController(__namedParameters): Element

Defined in: ui/client/features/directory-browser/controllers/DirectoryBrowserController.tsx:9

Mount anywhere a project must be chosen. onSelect receives the absolute path of the project the user picked from their own workspace.

Props#

Prop Type Required Default Description
onSelect (path: string) => void Yes —

Returns#

Element