react-scannable
v0.0.21
Published
[](https://www.npmjs.com/package/react-scannable)
Readme
react-scannable
Install
npm install react-scannableUsage
import React from 'react';
import { Scannable, Scanner } from 'react-scannable';
function Example() {
const active = true;
return (
<Scanner active={active}>
<Scannable>
<button>CLICK</button>
</Scannable>
</Scanner>
);
}Development
To develop and verify the package locally:
npm install
npm test
npm run build
npm run demoRun the complete release-oriented verification with npm run check.
License
MIT © shayc
