Skip to content

Commit

Permalink
Merge pull request kozakdenys#33 from glocore/docs-react-example
Browse files Browse the repository at this point in the history
Add react example usage
kozakdenys authored Dec 29, 2020
2 parents 19a3b9f + 34b476e commit 6ad607b
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -57,6 +57,8 @@ npm install qr-code-styling
</html>
```

[**Usage with React**](https://codesandbox.io/s/qr-code-styling-react-example-l8rwl?file=/src/App.js)

### API Documentation

#### QRCodeStyling instance
@@ -186,6 +188,7 @@ Property |Type |Default Value|Description
name |string |`'qr'` |Name of the downloaded file
extension|string (`'png' 'jpeg' 'webp'`)|`'png'` |File extension


### License

[MIT License](https://raw.githubusercontent.com/kozakdenys/qr-code-styling/master/LICENSE). Copyright (c) 2021 Denys Kozak
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.

0 comments on commit 6ad607b

Please sign in to comment.