Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/afeiship/react-qrcode
- Owner: afeiship
- Created: 2019-12-30T10:27:13.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-08-28T14:53:48.000Z (2 months ago)
- Last Synced: 2024-10-12T11:01:14.788Z (25 days ago)
- Topics: code, qr, qrcode, react
- Language: TypeScript
- Size: 400 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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