react-qr-code
A component for React. This library works with React and React Native (uses ART module).
Installation
yarn add react-qr-code
The Gist
API
prop | type | default value |
---|---|---|
value |
string |
|
size |
number |
128 |
bgColor |
string (CSS color) |
'#FFFFFF' |
fgColor |
string (CSS color) |
'#000000' |
level |
string ('L' 'M' 'Q' 'H' ) |
'L' |