|
@ -38,7 +38,8 @@ class ReceiveModal extends React.Component { |
|
|
pubkey, |
|
|
pubkey, |
|
|
address, |
|
|
address, |
|
|
alias, |
|
|
alias, |
|
|
closeReceiveModal |
|
|
closeReceiveModal, |
|
|
|
|
|
network |
|
|
} = this.props |
|
|
} = this.props |
|
|
|
|
|
|
|
|
const { qrCodeType } = this.state |
|
|
const { qrCodeType } = this.state |
|
@ -87,7 +88,7 @@ class ReceiveModal extends React.Component { |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div className={styles.address}> |
|
|
<div className={styles.address}> |
|
|
<h4>Bitcoin Address</h4> |
|
|
<h4>Bitcoin {network.name} Address</h4> |
|
|
<p> |
|
|
<p> |
|
|
<span className={styles.data}>{address}</span> |
|
|
<span className={styles.data}>{address}</span> |
|
|
<span onClick={() => copyOnClick(address)} className={`${styles.copy} hint--left`} data-hint='Copy address'> |
|
|
<span onClick={() => copyOnClick(address)} className={`${styles.copy} hint--left`} data-hint='Copy address'> |
|
@ -103,6 +104,9 @@ class ReceiveModal extends React.Component { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
ReceiveModal.propTypes = { |
|
|
ReceiveModal.propTypes = { |
|
|
|
|
|
network: PropTypes.shape({ |
|
|
|
|
|
name: PropTypes.string |
|
|
|
|
|
}).isRequired, |
|
|
isOpen: PropTypes.bool.isRequired, |
|
|
isOpen: PropTypes.bool.isRequired, |
|
|
pubkey: PropTypes.string, |
|
|
pubkey: PropTypes.string, |
|
|
address: PropTypes.string.isRequired, |
|
|
address: PropTypes.string.isRequired, |
|
|