Closed xaphod closed 1 year ago
import { useQRCode } from 'react-qrcodes'; const qrCode = useQRCode<HTMLImageElement>({ text: 'https://google.com', options: { type: 'image/jpeg', quality: 0.3, level: 'M', margin: 3, scale: 4, width: 200, color: { dark: '#010599FF', light: '#FFBF60FF', }, }, }); console.log(qrCode);
--> qrCode is always false, never an array as docs would imply is supposed to be
false
--> qrCode is always
false
, never an array as docs would imply is supposed to be