Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add generatePath prop #389

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from
Open

feat: add generatePath prop #389

wants to merge 1 commit into from

Conversation

qkiroc
Copy link

@qkiroc qkiroc commented Feb 13, 2025

To support more styles, users can pass [generatePath] callback function to generate a custom QR code path using the QR code matrix and margin.

@qkiroc qkiroc changed the title feat: add generatePath feat: add generatePath prop Feb 13, 2025
@zpao
Copy link
Owner

zpao commented Feb 19, 2025

Do you have an example of a practical application? I think this could be an interesting solution to the feature request of different cell shapes (eg rendering circles).

@qkiroc
Copy link
Author

qkiroc commented Feb 19, 2025

be like image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants