ui/client/features/clone/components/GithubConnectionRow
Cockpit client (features), next. Source: ui/client/features/clone/components/GithubConnectionRow.tsx.
Functions#
GithubConnectionRow()#
GithubConnectionRow(
__namedParameters):Element|null
Defined in: ui/client/features/clone/components/GithubConnectionRow.tsx:21
Presentation-only: whether the Cockpit is connected to GitHub for private repositories, and for which account, with Connect / Disconnect. Composed as a slot on the Settings screen. Renders nothing at all when the feature is not set up on this server.
Props#
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
view |
GithubPanelView |
Yes | — | |
busy |
boolean |
Yes | — | |
error |
`string | null` | Yes | — |
onConnect |
() => void |
Yes | — | |
onDisconnect |
() => void |
Yes | — |
Returns#
Element | null