Add exit buttons to invoices

This commit is contained in:
finned-palmer 2021-08-19 17:12:56 -05:00
parent a0e0f3404c
commit b4eae08f88
3 changed files with 9 additions and 0 deletions

View File

@ -111,6 +111,9 @@ const BridgeInvoice: React.FC<Props> = ({ payee, stopSending, satsAmount }) => {
mb={5}
p={5}
>
<Row flexDirection="row-reverse">
<Icon icon="X" cursor="pointer" onClick={() => stopSending()} />
</Row>
<Col
p={5}
mt={4}

View File

@ -126,6 +126,9 @@ const ExternalInvoice: React.FC<Props> = ({
mb={5}
p={5}
>
<Row flexDirection="row-reverse">
<Icon icon="X" cursor="pointer" onClick={() => stopSending()} />
</Row>
<Col
p={5}
mt={4}

View File

@ -172,6 +172,9 @@ const Invoice: React.FC<Props> = ({ stopSending, payee, satsAmount }) => {
mb={5}
p={5}
>
<Row flexDirection="row-reverse">
<Icon icon="X" cursor="pointer" onClick={() => stopSending()} />
</Row>
<Col
p={5}
mt={4}