Skip to content

Commit

Permalink
Merge pull request #2 from thebrandonlucas/default-svg
Browse files Browse the repository at this point in the history
default to svg instead of canvas
  • Loading branch information
thebrandonlucas authored Mar 21, 2024
2 parents c922bd0 + 13d962d commit cd94cd6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/bitcoin-qr/bitcoin-qr.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,9 @@ export class BitcoinQR {
if (!this.height) {
this.height = 300;
}
if (!this.type) {
this.type = 'svg';
}
this.qr = new QRCodeStyling(this.getDefinedProps());
}

Expand Down

0 comments on commit cd94cd6

Please sign in to comment.