react-qrcode-logo
react-qrcode-logo copied to clipboard
This expression is not callable during a build
./node_modules/react-qrcode-logo/lib/index.tsx:282:24 Type error: This expression is not callable. Type '{ default: QRCodeFactory; stringToBytes(s: string): number[]; stringToBytesFuncs: { [encoding: string]: (s: string) => number[]; }; createStringToBytes(unicodeData: string, numChars: number): (s: string) => number[]; }' has no call signatures.
280 | const logoPadding = this.props.logoPadding ? +this.props.logoPadding : 0; 281 |
282 | const qrCode = qrGenerator(0, ecLevel); | ^ 283 | qrCode.addData(this.utf16to8(value)); 284 | qrCode.make();