diff options
Use clipboard icon for copy button
Diffstat (limited to 'ui/app/components/copyButton.js')
-rw-r--r-- | ui/app/components/copyButton.js | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/ui/app/components/copyButton.js b/ui/app/components/copyButton.js index 74fd673c2..1fdc3f822 100644 --- a/ui/app/components/copyButton.js +++ b/ui/app/components/copyButton.js @@ -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() |