qr-code-simple
v1.0.16
Published
Made with create-react-library
Downloads
5
Readme
qr-code-simple
Made with create-react-library
Install
npm install --save qr-code-simple
Usage
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