react-qrcode-logo icon indicating copy to clipboard operation
react-qrcode-logo copied to clipboard

This expression is not callable during a build

Open asyakalinina opened this issue 7 months ago • 1 comments

./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();

asyakalinina avatar Jul 16 '24 08:07 asyakalinina