react-pdf-html
react-pdf-html copied to clipboard
How to preview / test / debug the transformed components
Thanks for the great package. I have a question that wasn't obvious to me from reading the docs.
How can I preview / test / debug the transformed elements (e.g. to help me debug styles)?
I am able to use <PDFViewer>
from react-pdf
to view the output PDF. But I want a way to see which react-pdf
components were generated by this package for any given input HTML. Something similar to the code view in react-pdf.org/repl is what I'm after, but showing the generated code from this package.
Is that possible?