0.0.16 • Published 2 years ago

obyte-qr-button v0.0.16

Weekly downloads
12
License
MIT
Repository
-
Last release
2 years ago

Obyte QR Button

Install

npm i obyte-qr-button

Use

import QRButton from "obyte-qr-button"

Required packages:

  • react
  • react-dom
  • antd (with import styles)
  • @ant-design/icons

Example

import QRButton from "obyte-qr-button" 

const config = {
  title: <span>Scan this QR code <br /> with your mobile phone</span>,
  downloadTitle: "Download Obyte wallet",
  tooltip: "This will open your Obyte wallet installed on this computer and send the transaction",
  tooltipMobile: "Send the transaction from your mobile phone",
  install: "Install Obyte wallet for [ios] or [android] if you don't have one yet",
  obyteIn: "Obyte in"
}

export const App = () => {
    return <QRButton href="..." config={config} onClick={()=>{console.log("click!")}}>Send</QRButton>
}
  • config props is not required
0.0.16

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.14

2 years ago

0.0.15

2 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.3

3 years ago

0.0.4

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago