1.0.16 • Published 3 years ago
qr-code-simple v1.0.16
qr-code-simple
Made with create-react-library
Install
npm install --save qr-code-simpleUsage
import React, { Component } from 'react'
import {EnterUrl} from 'qr-code-simple'
import 'qr-code-simple/dist/index.css'
class Example extends Component {
render() {
return <EnterUrl options={{backgroundColor: 'yellowgreen', heightQrCode: '300px'}}/>
}
}Available options
| option | type | default |
|---|---|---|
| backgroundColor | String | pink |
| backgroundColorButton | String | blue |
| colorTextButton | String | white |
| widthInput | String | 500px |
| marginTopQrCode | String | 50px |
| heightQrCode | String | 150px |
License
MIT © melaniemdm