qrcode.react
Advanced tools
Changelog
[4.1.0] - 2024-10-21
boostLevel
prop, allowing the disabling of the underlying encoder's default of automatically boosting the ECL. (#374)value
, which enables encoding of each part into independent segments. (#374)Changelog
[3.2.0] - 2024-08-31
@deprecated
JSDoc to default export for additional visibility in editors to TypeScript users.Changelog
[4.0.1] - 2024-08-28
"moduleResolution": "Bundler"
or "module": "ESNext"
. (#368)Changelog
[4.0.0] - 2024-08-27
ref
, enabling direct access for underlying canvas
or svg
nodes. This also resulted in much more accurate type defitions. (#202)marginSize
prop, replacing the now deprecated includeMargin
. This enables margins of any value, not just 0
or 4
. (#281)imageSettings.opacity
(#292)minVersion
prop to give better control over QR Code generated (#323)cross-origin
for embedded images via imageSettings.crossOrigin
. (#324)QRCodeSVG
by rendering a <title>
node instead of setting a title
attribute. (#284)role
set on rendered SVG and Canvas. (#321)includeMargin
prop has been deprecated in favor of marginSize
. (#281)style
prop. This still works identically as it was passed through and the type definitions are unaffected as they were improved via the ref
changes (#357)href
in place of xlink:href
for embedded images. (#336)Changelog
[3.1.0] - 2022-06-25
defaultProps
. This may be a slight behavior change with TypeScript if previously passing null
.shapeRendering="crispEdges"
in SVG component.Changelog
[3.0.2] - 2022-05-15
Changelog
[3.0.0] - 2022-03-26
QRCodeSVG
and QRCodeCanvas
.qr.js
dependency for vendored version of https://www.nayuki.io/page/qr-code-generator-library.