Jack Mallers
7 years ago
8 changed files with 94 additions and 4 deletions
@ -0,0 +1,26 @@ |
|||||
|
import { shell } from 'electron' |
||||
|
import React from 'react' |
||||
|
import PropTypes from 'prop-types' |
||||
|
import AnimatedCheckmark from 'components/AnimatedCheckmark' |
||||
|
import { btc } from 'utils' |
||||
|
import styles from './SuccessfulSendPayment.scss' |
||||
|
|
||||
|
const SuccessfulSendPayment = ({ hideModal }) => { |
||||
|
return ( |
||||
|
<div className={styles.container}> |
||||
|
<AnimatedCheckmark /> |
||||
|
<h1> |
||||
|
<span>Successfully sent payment</span> |
||||
|
</h1> |
||||
|
<div className={styles.button} onClick={hideModal}> |
||||
|
Done |
||||
|
</div> |
||||
|
</div> |
||||
|
) |
||||
|
} |
||||
|
|
||||
|
SuccessfulSendPayment.propTypes = { |
||||
|
hideModal: PropTypes.func.isRequired |
||||
|
} |
||||
|
|
||||
|
export default SuccessfulSendPayment |
@ -0,0 +1,37 @@ |
|||||
|
@import '../../../../../../variables.scss'; |
||||
|
|
||||
|
.container { |
||||
|
position: relative; |
||||
|
min-height: 250px; |
||||
|
top: calc(50% - 250px); |
||||
|
text-align: center; |
||||
|
|
||||
|
h1 { |
||||
|
font-size: 20px; |
||||
|
margin: 50px 0; |
||||
|
|
||||
|
.link { |
||||
|
cursor: pointer; |
||||
|
color: $main; |
||||
|
text-decoration: underline; |
||||
|
} |
||||
|
|
||||
|
.amount, .addr { |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
.button { |
||||
|
text-align: center; |
||||
|
border-radius: 8px; |
||||
|
background: $main; |
||||
|
padding: 20px 10px; |
||||
|
font-weight: bold; |
||||
|
cursor: pointer; |
||||
|
text-transform: uppercase; |
||||
|
letter-spacing: .2px; |
||||
|
color: $white; |
||||
|
width: 15%; |
||||
|
margin: 0 auto; |
||||
|
} |
||||
|
} |
@ -0,0 +1,3 @@ |
|||||
|
import SuccessfulSendPayment from './SuccessfulSendPayment' |
||||
|
|
||||
|
export default SuccessfulSendPayment |
Loading…
Reference in new issue