Line

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

ui/client/features/clone/components/CloneTokenField

Cockpit client (features), next. Source: ui/client/features/clone/components/CloneTokenField.tsx.

Functions#

CloneTokenField()#

CloneTokenField(__namedParameters): Element

Defined in: ui/client/features/clone/components/CloneTokenField.tsx:17

Presentation-only: the one-time access token for a private repository, with the plain-words guide to making a read-only one. The fallback next to "Use my GitHub login", and the only way when that is off.

Props#

Prop Type Required Default Description
token string Yes —
tokenProblem `string null` Yes —
disabled boolean Yes —
onToken (v: string) => void Yes —

Returns#

Element