This repository is no longer maintained, and the
react-qrcodenpm package has been transferred to @rxts/react-qrcode.
QR code for ReactJS
npm install react-qrcode
<QRcode text="http://www.pairyo.com/" width=256 height=256 />
Thanks to jeromeetienne's jquery-qrcode. Honestly, pairyo copied your code, but we found this is a must as react is hot, and we need to provide an alternative.