Why use it?
A qrocde Component by google qrcode generator.
Live Demo
Installation
npm install lesca-react-qrcode --save
Usage
import Qrcode from 'lesca-react-qrcode';
const Components = () => {
const content = 'https://exsample.com/';
const size = '300';
return <Qrcode {...{ content, size }} />;
};
Development
Props
props | description | default |
---|---|---|
content:string | url or text | '' |
size:int | set image size | 500 |
Features
- maintain if necessary