0.1.3 • Published 6 years ago
react-native-webview-qrcode v0.1.3
react-native-webview-qrcode
Feature
- bar-code
- qr-code container-style
- qr-code-inside-image-container-style
Support
- IOS && Android
- render the qrcode
- add the img
- size the img size
Props
| Name | Default | Type | Description |
|---|---|---|---|
| size | 150 | number | |
| value | https://github.com/Dearkano/ | 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-webview-qrcode -SUseage
import QRCode from 'react-native-webview-qrcode'
<QRCode value="https://github.com/Dearkano/" size="150" imgUrl="https://avatars3.githubusercontent.com/u/10054336?s=460&v=4" />