react-native-image-qrcode
v0.1.2
Published
react-native render qrocode
Downloads
6
Readme
react-native-image-qrcode
Feature
- bar-code
- qr-code container-style
- qr-code-inside-image-container-style
Support
- [X] IOS && Android
- [X] render the qrcode
- [X] add the img
- [X] size the img size
Props
|Name|Default|Type|Description| |:--:|:--:|:--:|:--:| |size|150|number|| |value| https://github.com/Timson020/ |string|string value| |bgColor|black|string|color| |fgColor|white|string|color| |imgUrl|''|string|url string| |imgSize|0.4|number|percentage, don't bigger than 1|
Install
npm install react-native-image-qrcode -S
Useage
import QRCode from 'react-native-image-qrcode'
<QRCode value="https://github.com/Timson020/" size="150" imgUrl="https://avatars3.githubusercontent.com/u/10054336?s=460&v=4" />