Hi! π
I noticed that the current documentation/example still uses the QRCode component from the qrcode.react library. However, this component has been deprecated, and using it now throws an error like:
QRCode is not exported from 'qrcode.react'
According to the qrcode.react documentation, we should now use QRCodeSVG or QRCodeCanvas instead.
Suggested fix:
Update all references to:
import { QRCodeSVG } from 'qrcode.react';
And update the TSX accordingly:
<QRCodeSVG value={yourValueHere} />
This change would make the example compatible with the latest version of qrcode.react.
Thanks <3