Line

ui/client/features/clone/components/ConnectRemoteForm

Cockpit client (features), v0.9. Source: ui/client/features/clone/components/ConnectRemoteForm.tsx.

Functions#

ConnectRemoteForm()#

ConnectRemoteForm(__namedParameters): Element

Defined in: ui/client/features/clone/components/ConnectRemoteForm.tsx:22

Presentation-only "Connect a remote": shown on Settings for the open project. Connected projects only show where they point; a project with no origin gets one address field; a folder that is not a repository says so.

Props#

Prop Type Required Default Description
loaded boolean Yes —
repo boolean Yes — Is the open project a repository at all?
connected boolean Yes —
current `string null` Yes —
url string Yes —
urlHint `string null` Yes —
busy boolean Yes —
error `string null` Yes —
onUrl (v: string) => void Yes —
onConnect () => void Yes —

Returns#

Element