Skip to content

react-native-image-qrcode (react-native 二维码生成器,可带自定义图片在中心)

License

Notifications You must be signed in to change notification settings

Timson020/react-native-image-qrcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

react-native-image-qrcode (react-native 二维码生成器,可带自定义图片在中心)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published