Optionaloptions: IParamsAn optional object containing the following parameters:
The callback function to be executed when the document starts loading.
The callback function to be executed when the document finishes loading.
The fallback content to be displayed while the document is loading.
The callback function to be executed when the component is mounted.
The callback function to be executed when the component is unmounted.
The callback function to be executed when the submit button is clicked.
The callback function to be executed when the component is closed.
The title of the component.
The label of the submit button.
A hook which allows displaying and interacting with a document preview.