You can do it by leveraging canvasRef and drawing over the PDF yourself. This is how you can do it: https://codesandbox.io/p/sandbox/react-pdf-watermark-5wylx?file=%2Findex.html
canvasRef