Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.37 KB

README.md

File metadata and controls

52 lines (36 loc) · 1.37 KB

Travis (.org) npm npm GitHub issues

PRs Welcome npm

react-native-image-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/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" />

Contributer