Function: RegenerateNarration()
RegenerateNarration(
props
):Element
RegenerateNarration component renders a button that triggers the regeneration of content for a given document.
Parameters
• props
The properties object.
• props.docId: string
The ID of the document to regenerate content for.
Returns
Element
A button element that, when clicked, calls the regenerateContent function with the provided docId.