Change the copy to cliboard icon

This commit is contained in:
Frankie 2016-06-21 13:40:02 -07:00
parent bd1d67b219
commit 265725c6ed
1 changed files with 6 additions and 2 deletions

View File

@ -63,12 +63,16 @@ NewComponent.prototype.render = function() {
margin: '0 20px',
},
}, [
h('i.fa.fa-clipboard.fa-md.cursor-pointer.color-orange', {
h('img.cursor-pointer.color-orange', {
src: 'images/copy.svg',
onClick: (event) => {
event.stopPropagation()
event.preventDefault()
copyToClipboard(ethUtil.toChecksumAddress(identity.address))
}
},
style:{
margin: '0px 5px',
},
}),
]),
])