I try to put a ref on a functional component but a have this error.
my code :
const DownloadPdf: React.FC = () => { const componentRef = useRef<