Skip to main content

Function: GoodExample()

GoodExample(props): Element

A component that renders a submit button for saving a document as a good example.

Parameters​

• props

The properties object.

• props.docId: string

The ID of the document to be saved as a good example.

• props.onSubmit?: Function

Optional callback function to be called upon submission.

Returns​

Element

The rendered submit button component.

Defined in​

Narration.tsx:194