Marcos Andrei Ivanechtchuk
Marcos Andrei Ivanechtchuk
Sure, a way would be passing to the inner component. Not sure if it matters now due to time elapsed since the question, sorry, but with v1 this should be...
v1 has been released supporting a `resolution` option, higher values would mean less blur. See https://github.com/ivmarcos/react-to-pdf/blob/main/CHANGELOG.md#100-alpha0-august-26-2023 how to migrate from v0 to v1 or README for more details/examples.
FYI v1 has been released supporting the `resolution` param but even with the default config you should get a reasonable text resolution. See examples on README 🙂 .
Thanks for this! Closing due to the release of `v1.0.1` supporting image format prop using the canvas attributes, please refer to the advanced options example in https://github.com/ivmarcos/react-to-pdf#usage.
Please check if the problem persists with V1, not being able to reproduce. Closing this but feel free to open another issue if that continues with the newest releases.
v1 has been released with the multipage support, please refer to the https://github.com/ivmarcos/react-to-pdf/blob/main/CHANGELOG.md#100-alpha0-august-26-2023 to see how to migrate from v0 to v1.
I came across the same thing and, in my case I was using Vite. I ended up creating a custom handler and adding some rewrites configs, it's working fine so...