diff --git a/example/src/BarcodeScanner.tsx b/example/src/BarcodeScanner.tsx
index 09ed742..224048c 100644
--- a/example/src/BarcodeScanner.tsx
+++ b/example/src/BarcodeScanner.tsx
@@ -7,6 +7,7 @@ export const BarcodeScanner: React.FC<{}> = () => {
const [paused, setPaused] = useState(false);
const {
+ isDecoding,
ref,
torch: {
on: torchOn,
@@ -36,6 +37,7 @@ export const BarcodeScanner: React.FC<{}> = () => {
Last result:
{result}
+ isDecoding ? {isDecoding ? "yes" : "no"}