react-native-qrcode-logo
A react-native component to generate QRCode with logo, not only support English.
this module support iOS and Android
Installation
npm install react-native-qrcode-logo
Usage
'use strict'; var React = ;var QRCode = ;var AppRegistry StyleSheet View TextInput = React; var helloworld = React; var styles = StyleSheet; AppRegistry; moduleexports = helloworld;
Available Props
prop | type | default value |
---|---|---|
value |
string |
https://www.baidu.com/ |
logo |
string |
http://pic2.ooopic.com/01/37/79/28b1OOOPIC30.jpg |
size |
number |
128 |
bgColor |
string (CSS color) |
"#FFFFFF" |
fgColor |
string (CSS color) |
"#000000" |