mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-05-06 08:45:05 -04:00
wip: WithdrawDialog migrated to Tauri IPC
This commit is contained in:
parent
47821cbe79
commit
3d16ff6d5c
118 changed files with 1779 additions and 1868 deletions
|
@ -1,18 +1,18 @@
|
|||
import QRCode from 'react-qr-code';
|
||||
import { Box } from '@material-ui/core';
|
||||
import QRCode from "react-qr-code";
|
||||
import { Box } from "@material-ui/core";
|
||||
|
||||
export default function BitcoinQrCode({ address }: { address: string }) {
|
||||
return (
|
||||
<Box
|
||||
style={{
|
||||
height: '100%',
|
||||
margin: '0 auto',
|
||||
height: "100%",
|
||||
margin: "0 auto",
|
||||
}}
|
||||
>
|
||||
<QRCode
|
||||
value={`bitcoin:${address}`}
|
||||
size={256}
|
||||
style={{ height: 'auto', maxWidth: '100%', width: '100%' }}
|
||||
style={{ height: "auto", maxWidth: "100%", width: "100%" }}
|
||||
/* eslint-disable-next-line @typescript-eslint/ban-ts-comment */
|
||||
/* @ts-ignore */
|
||||
viewBox="0 0 256 256"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue