Hung Hoang

Results 3 comments of Hung Hoang

@Mouaadouk you can use this, I forked this lib and fix something. it is based on code v2 refer: https://github.com/devfolioco/react-otp-input/tree/v2.4.0 https://www.npmjs.com/package/reactjs-otp-input

> @hunghg255 Hi, could you share what kind of changes did you make? I've checked that this issue has gone in your repo. @Charmix you can check this my commit...

You can assign base64 to ref by this one ```ts const refQrCode = useRef(); return { if (!c?.toDataURL) return; c?.toDataURL(base64Image => { refQrCode.current = base64Image; }) }} /> ; ```