Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dkozak committed Sep 23, 2019
1 parent 96399ff commit 92bcd4b
Show file tree
Hide file tree
Showing 7 changed files with 101 additions and 70 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ npm install qr-code-styling
data: "https://www.facebook.com/",
image: "https://facebookbrand.com/wp-content/themes/fb-branding/assets/images/fb-logo.png?v2",
dotsOptions: {
colour: "#4267b2",
color: "#4267b2",
type: "rounded"
},
backgroundOptions: {
colour: "#e9ebee",
color: "#e9ebee",
}
});
Expand Down Expand Up @@ -91,14 +91,14 @@ imageSize |number |`0.4` |Coefficient of the image size. Not reco

Property|Type |Default Value|Description
--------|------------------------------------|-------------|-----------------
colour |string |`'#000'` |Colour of QR dots
color |string |`'#000'` |Color of QR dots
type |string (`'rounded' 'dots' 'square'`)|`'default'` |Style of QR dots

`options.backgroundOptions` structure

Property|Type |Default Value
--------|------|-------------
colour |string|`'#fff'`
color |string|`'#fff'`

#### QrCodeStyling methods
`QrCodeStyling.append(container) => void`
Expand Down
4 changes: 2 additions & 2 deletions app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ const qrCode = new QrCodeStyling({
imageSize: 0.4
},
dotsOptions: {
colour: "#4267b2",
color: "#4267b2",
style: "dots"
},
backgroundOptions: {
colour: "#e9ebee",
color: "#e9ebee",
}
});

Expand Down
Loading

0 comments on commit 92bcd4b

Please sign in to comment.