react-qr-bcl-cs
v1.0.0
Published
``` import { useBclToggle, BclComponent } from "react-qr-bcl-cs" ```
Downloads
2
Readme
Import
import { useBclToggle, BclComponent } from "react-qr-bcl-cs"
Usage
function App() {
const [show, toggle] = useBclToggle()
const onBclVerify = (data) => {
console.log(data)
}
return (
<div>
<BclComponent onBclVerify={onBclVerify} show={show} toggle={toggle} />
<button type='button' onClick={toggle}>Login With BCL</button>
</div>
);
}
export default App;