@@ -3,6 +3,7 @@ import { Button } from 'indigo-react';
3import { Icon } from '@tlon/indigo-react';
3import { Icon } from '@tlon/indigo-react';
5import { blinkIf } from './Blinky';
5import { blinkIf } from './Blinky';
6+import WithTooltip from './WithTooltip';
7// NOTE: the -> is correct because inter recognizes the pair
8// NOTE: the -> is correct because inter recognizes the pair
8export const ForwardButton = ({ loading, ...props }) => (
9export const ForwardButton = ({ loading, ...props }) => (
@@ -25,9 +26,13 @@ export const OfflineButton = props => (
25 </OutButton>
26 </OutButton>
28−export const CopyButton = props => (
29+export const CopyButton = ({ didCopy = false, ...props }) => (
32+ <WithTooltip content={didCopy ? 'Copied!' : 'Copy'}>
30− accessory={<Icon icon="Copy" size="18px" color={'black'} />}
33+ <Icon icon="Copy" size="18px" color={'black'} />
31 {...props}
36 {...props}