Skip to content

Commit

Permalink
#45 add margin and type to Option ts type
Browse files Browse the repository at this point in the history
  • Loading branch information
Denys Kozak committed May 29, 2021
1 parent 6d17c23 commit df0a3fb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "qr-code-styling",
"version": "1.4.1",
"version": "1.4.2",
"description": "Add a style and an image to your QR code",
"main": "lib/qr-code-styling.js",
"types": "lib/index.d.ts",
Expand Down
2 changes: 2 additions & 0 deletions src/core/QROptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ export type Gradient = {
};

export type Options = {
type?: DrawType;
width?: number;
height?: number;
margin?: number;
data?: string;
image?: string;
qrOptions?: {
Expand Down

0 comments on commit df0a3fb

Please sign in to comment.