I tried download a specific html document via html2PDF function in a React app. Here it\'s my code:
import React, { FunctionComponent, useEffect, useState }