JimmyMow
7 years ago
committed by
GitHub
8 changed files with 100 additions and 5 deletions
@ -0,0 +1,22 @@ |
|||||
|
import React from 'react' |
||||
|
import PropTypes from 'prop-types' |
||||
|
import AnimatedCheckmark from 'components/AnimatedCheckmark' |
||||
|
import styles from './SuccessfulSendPayment.scss' |
||||
|
|
||||
|
const SuccessfulSendPayment = ({ hideModal }) => ( |
||||
|
<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; |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue