Create and Download PDF

I have a web app that allows users to edit a table including drag/dropping rows, change row colors, edit text, etc... Once they are done editing it I want them to be able to export the table as PDF. However, I've tried some different PDF libraries and none of them have a straightforward way of taking your component including the Tailwind CSS styles and create a multi-page PDF. I also don't want to convert my component into an image using something like html2canvas to allow users to highlight text on the PDF. Here are the libraries I've tried: react-pdf jsPDF Any suggestions on a library or method I can use?