Line

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

ui/client/features/tests/components/StepReview

Cockpit client (features), next. Source: ui/client/features/tests/components/StepReview.tsx.

Functions#

StepReview()#

StepReview(__namedParameters): Element | null

Defined in: ui/client/features/tests/components/StepReview.tsx:15

"Nothing is written until you review": the diff of exactly what will change in the file, with Confirm and Back. A refusal (a stale file, an edit that cannot be written safely) is shown as it is and nothing is written.

Props#

Prop Type Required Default Description
review Review Yes —
path string Yes —
onBack () => void Yes —
onConfirm () => void Yes —
onReload () => void Yes —

Returns#

Element | null