import QRCode from 'qrcode.react' import { InputGroup } from 'react-bootstrap' import Moon from '../svgs/moon-fill.svg' import copy from 'clipboard-copy' import Thumb from '../svgs/thumb-up-fill.svg' import { useState } from 'react' import BootstrapForm from 'react-bootstrap/Form' import Button from 'react-bootstrap/Button' export function Invoice ({ invoice }) { const [copied, setCopied] = useState(false) const qrValue = 'lightning:' + invoice.toUpperCase() return ( <>