-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[Feature Request] add support for react also #110
Comments
I got the Html5QrCodeScanner working in a React project. I created a JS file and manually added the non-minified Html5QrCode, Html5QrCodeScanner , and getLazarSoftScanner logic. Then added the export flag to the Html5QrCode and Html5QrCodeScanner classes. Here's the basic component.
|
@AndyTenholder This is very cool - would you be interested in sending a PR with example here The format would be
Please refer to other examples at ./examples. Also, add a section to main readme.md#framework-support |
@AndyTenholder I have added a crude example of how to use this library with React (#113). I am sure this is not the most recommended way of doing so, If you are interested please feel free to improve on the current example with recommended practices. The example sits in examples/react In long term it looks like users would benefit from a proper (published) react plugin of this library - I'd try to implement and publish that in a way it's maintainable along with this project. |
Hi there, Thanks for the project. I did not actually get this working before I realized that I need the
|
@nrakochy Thanks for this. Would you like to send a PR with examples for others on using this with |
No description provided.
The text was updated successfully, but these errors were encountered: