react-qrcode-logo
react-qrcode-logo copied to clipboard
Function get qrcode as SVG
Is there some function that I can get the Qrcode as svg ?
To clarify my use case: I want to generate many qrcodes at once and put all together in a A4 page to print all together. So, then, I do not need to print each one, one by one. I know that I could create a page rendering all Qrcode components, and, then, add a button to print all this page. But, I would like to have a nicer UX and just add a button 'print all qrcodes' on the bottom of my table page, and, then had a downloadable svg with all qrcodes generated at runtime. For this, I need a function that I pass the value to be encrypted and the logo (also some others params like ecLevel, size, almost all the inputs the components have) and get the qrcode svg. Is there such function in this lib ?
Thanks in advance for the help.
A renderAs
option would be great!
I assume this is still not available, is there a workaround?