Skip to content

feat: Added QR code component with encoding and rendering capabilities#2242

Draft
rkaraivanov wants to merge 3 commits into
masterfrom
rkaraivanov/qr-code
Draft

feat: Added QR code component with encoding and rendering capabilities#2242
rkaraivanov wants to merge 3 commits into
masterfrom
rkaraivanov/qr-code

Conversation

@rkaraivanov

Copy link
Copy Markdown
Member

Description

Added a new component able to encode and render data as a QR code SVG

Type of Change

  • New feature (non-breaking change that adds functionality)

Checklist

  • My code follows the project's coding standards
  • I have tested my changes locally

Some of the key changes include:
- Added new properties to the QR code component for logo source, size, and margin.
- Updated the QR code generation logic to account for the logo area and error correction level.
- Refactored the corner rendering logic to ensure the finder patterns are not obscured by the logo.
- Added new tests to cover the logo functionality and ensure the QR code is still scannable with the logo present.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant