Function: BadExample()
BadExample(
props
):Element
Component that renders a button to save a document as a bad example.
Parameters
• props
The properties object.
• props.docId: string
The ID of the document to be saved as a bad example.
• props.onSubmit?: Function
Optional callback function to be called on submit.
Returns
Element
The rendered SubmitButton component.