-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Use with React PDF #337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Does this help?
With this example, the SVG is a standalone element generated by JSBarcode so you won't have to be limited to make it integrate with any third-party package |
This looks like React Native SVGs. Perhaps the following React Native code will work for you: |
I am also looking for an answer. This is so far my code. If only the can be converted into base64 then it'll fix the issue.
|
I was able to fix this by creating a hidden div with
Then in an onClick handler for like
The returned value of
|
I also had the same requirement, to add barcode in pdf generated Functions outside React component:
In JSX compnent, wherever you want to use:
|
Hei,
I have a question regarding the the integration with react pdf.
It is able to render SVGs, with it's own primitives, like:
but i have no ideea how svgs generated by JSBarcode can be integrated with.
Thanks
The text was updated successfully, but these errors were encountered: