Components that can convert text into QR codes, and support custom color and logo. Available since
Used when the text needs to be converted into a QR Code.
Common props ref：Common props
This component is available since
|icon||include image url (only image link are supported)||string||-|
|iconSize||include image size||number||32|
|bgColor||QRCode Background Color||string||5.5.0|
|bordered||Whether has border style||boolean|
|errorLevel||Error Code Level|
The ErrorLevel means that the QR code can be scanned normally after being blocked, and the maximum area that can be blocked is the error correction rate.
Generally, the QR code is divided into 4 error correction levels: Level
L can correct about
7% errors, Level
M can correct about
15% errors, Level
Q can correct about
25% errors, and Level
H can correct about
30% errors. When the content encoding of the QR code carries less information, in other words, when the value link is short, set different error correction levels, and the generated image will not change.
For more information, see the: https://www.qrcode.com/en/about/error_correction
QR code expired