ui/client/features/project-gate/pages/ProjectGatePage
Cockpit client (features), v0.9. Source: ui/client/features/project-gate/pages/ProjectGatePage.tsx.
Functions#
ProjectGatePage()#
ProjectGatePage(
__namedParameters):ReactNode
Defined in: ui/client/features/project-gate/pages/ProjectGatePage.tsx:32
Props#
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
status |
`ProjectStatus | null` | Yes | — |
initializing |
boolean |
Yes | — | |
error |
`string | null` | Yes | — |
onInit |
() => void |
Yes | — | |
loadError |
`string | null` | Yes | — |
onRetry |
() => void |
Yes | — | |
opening |
boolean |
Yes | — | #365: opening a folder as the project, and the workspace-scoped picker (a slot: another feature's controller). |
openError |
`string | null` | Yes | — |
onOpen |
(dir: string) => void |
Yes | — | |
picker |
ReactNode |
Yes | — | |
newProject |
ReactNode |
No | — | The New project form, shown on the Open-a-project screen. |
clone |
ReactNode |
No | — | The clone-a-repository form, shown on the Open-a-project screen. |
samplePath |
`string | null` | No | null |
sampleLoading |
boolean |
No | false |
|
children |
ReactNode |
Yes | — |
Returns#
ReactNode