yudielcurbelo / react-qr-scanner

A library to scan QR Codes in react.
https://yudielcurbelo.github.io/react-qr-scanner/
MIT License
223 stars 31 forks source link

How to avoid beep sound? #82

Closed GabriFila closed 2 weeks ago

GabriFila commented 3 weeks ago

Hi, love the library! I couldn't find any docs or issues on how to avoid making the beep sound after a scan. Is there a way to do this?

Thank you

ladderschool commented 3 weeks ago
export interface IScannerComponents {
    tracker?: TrackFunction;
    audio?: boolean; <--------
    onOff?: boolean;
    torch?: boolean;
    zoom?: boolean;
    finder?: boolean;
}
GabriFila commented 2 weeks ago

Thank you, it works!