You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am brand new to using this library. And I was looking through the documentation on the home page. Most of the properties are pretty self explanatory. But two that I can not figure out are level and the src in the image object. It'd be nice if you at least included a sentence about these properties in the docs.
The text was updated successfully, but these errors were encountered:
That's a good idea, not sure why I haven't done a better job documenting. Playing with https://zpao.github.io/qrcode.react/ hopefully helps to see the effect of the settings.
Level is error correction level: https://www.qrcode.com/en/about/error_correction.html
Src would be equivalent to src for an <img> tag - URL where the image can be loaded from.
And excavate determines if we clear space around that loaded image, so it's not visible overlapping with the foreground squares.
Hope that helps. I'll leave this open though to remind me to write some better docs.
I am brand new to using this library. And I was looking through the documentation on the home page. Most of the properties are pretty self explanatory. But two that I can not figure out are level and the src in the image object. It'd be nice if you at least included a sentence about these properties in the docs.
The text was updated successfully, but these errors were encountered: