Add camera-based QR scanning to your React app.
Guides integration of a camera-based QR scanner into a React frontend.
When to use it
Use when adding QR code scanner support to a frontend.
It changes how the agent implements QR scanning in a frontend, directing it to use the prefabricated React hook without modifying it.
What you provide
The compatibility metadata specifies @caffeineai/qr-code ~0.1.2, and the usage example imports its scanner hook. The prose instead names @caffeinelabs/qr-code.
The compatibility metadata specifies @caffeineai/camera ~0.1.1, and the hook interface imports its camera types.
The resulting scanner uses the device camera to scan QR codes.
No additional actions listed.