Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/afeiship/react-qrcode

Qr code for react.
https://github.com/afeiship/react-qrcode

code qr qrcode react

Last synced: 11 days ago
JSON representation

Qr code for react.

Awesome Lists containing this project

README

        

# react-qrcode
> Qr code for react.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```shell
npm install -S @jswork/react-qrcode
```

## usage
1. import css
```scss
@import "~@jswork/react-qrcode/dist/style.css";

// or use sass
@import "~@jswork/react-qrcode/dist/style.scss";
```
2. import js
```js
import ReactQRCode from '@jswork/react-qrcode';
import '@jswork/react-qrcode/dist/style.scss';

function App() {
return (



Build Time: {BUILD_TIME}





);
}

export default App;
```

## preview
- https://afeiship.github.io/react-qrcode/

## license
Code released under [the MIT license](https://github.com/afeiship/react-qrcode/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/react-qrcode
[version-url]: https://npmjs.org/package/@jswork/react-qrcode

[license-image]: https://img.shields.io/npm/l/@jswork/react-qrcode
[license-url]: https://github.com/afeiship/react-qrcode/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/react-qrcode
[size-url]: https://github.com/afeiship/react-qrcode/blob/master/dist/react-qrcode.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/react-qrcode
[download-url]: https://www.npmjs.com/package/@jswork/react-qrcode