mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Use clipboard icon for copy button
This commit is contained in:
parent
fb92b8a5fe
commit
7f92a8da06
@ -14,9 +14,14 @@ CopyButton.prototype.render = function () {
|
||||
const props = this.props
|
||||
const value = props.value
|
||||
|
||||
return h('img.cursor-pointer.color-orange', {
|
||||
src: 'images/copy.svg',
|
||||
title: 'Copy Address',
|
||||
return h('i.fa.fa-clipboard.cursor-pointer.color-orange', {
|
||||
title: props.title || 'Copy',
|
||||
style: {
|
||||
display: 'flex',
|
||||
justifyContent: 'center',
|
||||
alignItems: 'center',
|
||||
margin: '5px',
|
||||
},
|
||||
onClick: (event) => {
|
||||
event.preventDefault()
|
||||
event.stopPropagation()
|
||||
|
Loading…
Reference in New Issue
Block a user