Skip to content

Commit

Permalink
feat: circle mode for QR code styling
Browse files Browse the repository at this point in the history
  • Loading branch information
sakul-budhathoki committed Apr 13, 2021
1 parent cdba62f commit d98b5bd
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 5 deletions.
2 changes: 2 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ export interface QRCodeProps {
ecl?: "L" | "M" | "Q" | "H";
/* error handler called when matrix fails to generate */
onError?: Function;
/* mode of qr code default with draw path and circle will make circles. Defaults to normal*/
mode?: "default" | "circle";
}

export default QRCode;
Loading

0 comments on commit d98b5bd

Please sign in to comment.