ui/client/features/new-project/controllers/NewProjectController
Cockpit client (features), v0.9. Source: ui/client/features/new-project/controllers/NewProjectController.tsx.
Functions#
NewProjectController()#
NewProjectController(
__namedParameters):Element
Defined in: ui/client/features/new-project/controllers/NewProjectController.tsx:10
The "New project" form. onCreated receives the absolute folder of the project the server just made and
initialised; the caller (the Open-a-project screen) opens it, exactly as it does for a finished clone.
Props#
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
onCreated |
(dir: string) => void |
Yes | — | |
workspaceRoot |
`string | null` | No | null |
Returns#
Element