ant-design/80ee31ef-async.c60cbcd2.js
2024-11-20 18:30:54 +00:00

1 line
4.7 KiB
JavaScript

(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["80ee31ef"],{"80ee31ef":function(e,a,d){"use strict";d.d(a,"__esModule",{value:!0}),d.d(a,"texts",{enumerable:!0,get:function(){return o;}}),d("f4aa4767");let o=[{value:"Used when the text needs to be converted into a QR Code.",paraId:0,tocIndex:0},{value:"Common props ref\uFF1A",paraId:1,tocIndex:12},{value:"Common props",paraId:2,tocIndex:12},{value:"This component is available since ",paraId:3,tocIndex:12},{value:"antd@5.1.0",paraId:3,tocIndex:12},{value:"Property",paraId:4,tocIndex:12},{value:"Description",paraId:4,tocIndex:12},{value:"Type",paraId:4,tocIndex:12},{value:"Default",paraId:4,tocIndex:12},{value:"Version",paraId:4,tocIndex:12},{value:"value",paraId:4,tocIndex:12},{value:"scanned text",paraId:4,tocIndex:12},{value:"string",paraId:4,tocIndex:12},{value:"-",paraId:4,tocIndex:12},{value:"type",paraId:4,tocIndex:12},{value:"render type",paraId:4,tocIndex:12},{value:"canvas | svg ",paraId:4,tocIndex:12},{value:"canvas",paraId:4,tocIndex:12},{value:"5.6.0",paraId:4,tocIndex:12},{value:"icon",paraId:4,tocIndex:12},{value:"include image url (only image link are supported)",paraId:4,tocIndex:12},{value:"string",paraId:4,tocIndex:12},{value:"-",paraId:4,tocIndex:12},{value:"size",paraId:4,tocIndex:12},{value:"QRCode size",paraId:4,tocIndex:12},{value:"number",paraId:4,tocIndex:12},{value:"160",paraId:4,tocIndex:12},{value:"iconSize",paraId:4,tocIndex:12},{value:"include image size",paraId:4,tocIndex:12},{value:"number | { width: number; height: number }",paraId:4,tocIndex:12},{value:"40",paraId:4,tocIndex:12},{value:"5.19.0",paraId:4,tocIndex:12},{value:"color",paraId:4,tocIndex:12},{value:"QRCode Color",paraId:4,tocIndex:12},{value:"string",paraId:4,tocIndex:12},{value:"#000",paraId:4,tocIndex:12},{value:"bgColor",paraId:4,tocIndex:12},{value:"QRCode Background Color",paraId:4,tocIndex:12},{value:"string",paraId:4,tocIndex:12},{value:"transparent",paraId:4,tocIndex:12},{value:"5.5.0",paraId:4,tocIndex:12},{value:"bordered",paraId:4,tocIndex:12},{value:"Whether has border style",paraId:4,tocIndex:12},{value:"boolean",paraId:4,tocIndex:12},{value:"true",paraId:4,tocIndex:12},{value:"errorLevel",paraId:4,tocIndex:12},{value:"Error Code Level",paraId:4,tocIndex:12},{value:"'L' | 'M' | 'Q' | 'H' ",paraId:4,tocIndex:12},{value:"M",paraId:4,tocIndex:12},{value:"status",paraId:4,tocIndex:12},{value:"QRCode status",paraId:4,tocIndex:12},{value:"active | expired | loading | scanned",paraId:4,tocIndex:12},{value:"active",paraId:4,tocIndex:12},{value:"scanned: 5.13.0",paraId:4,tocIndex:12},{value:"statusRender",paraId:4,tocIndex:12},{value:"custom status render",paraId:4,tocIndex:12},{value:"(info: \\[StatusRenderInfo](/components/qr-code-cn#statusrenderinfo)) => React.ReactNode",paraId:4,tocIndex:12},{value:"5.20.0",paraId:4,tocIndex:12},{value:"onRefresh",paraId:4,tocIndex:12},{value:"callback",paraId:4,tocIndex:12},{value:"() => void",paraId:4,tocIndex:12},{value:"-",paraId:4,tocIndex:12},{value:"type StatusRenderInfo = {\n status: QRStatus;\n locale: Locale['QRCode'];\n onRefresh?: () => void;\n};\n",paraId:5,tocIndex:13},{value:"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.",paraId:6,tocIndex:16},{value:"Generally, the QR code is divided into 4 error correction levels: Level ",paraId:7,tocIndex:16},{value:"L",paraId:7,tocIndex:16},{value:" can correct about ",paraId:7,tocIndex:16},{value:"7%",paraId:7,tocIndex:16},{value:" errors, Level ",paraId:7,tocIndex:16},{value:"M",paraId:7,tocIndex:16},{value:" can correct about ",paraId:7,tocIndex:16},{value:"15%",paraId:7,tocIndex:16},{value:" errors, Level ",paraId:7,tocIndex:16},{value:"Q",paraId:7,tocIndex:16},{value:" can correct about ",paraId:7,tocIndex:16},{value:"25%",paraId:7,tocIndex:16},{value:" errors, and Level ",paraId:7,tocIndex:16},{value:"H",paraId:7,tocIndex:16},{value:" can correct about ",paraId:7,tocIndex:16},{value:"30%",paraId:7,tocIndex:16},{value:" 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.",paraId:7,tocIndex:16},{value:"For more information, see the: ",paraId:8,tocIndex:16},{value:"https://www.qrcode.com/en/about/error_correction",paraId:8,tocIndex:16},{value:"If the QR code cannot be scanned for identification, it may be because the link address is too long, which leads to too dense pixels.",paraId:9,tocIndex:17},{value:"You can configure the QR code to be larger through size, or shorten the link through short link services.",paraId:10,tocIndex:17}];}}]);