From a66b08f21ab2529d7c497c5fdce17fc18297924e Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Wed, 17 Jan 2024 08:52:36 +0200 Subject: [PATCH] feat: add copy button for validator address --- src/components/General/ValidatorProfile.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/components/General/ValidatorProfile.tsx b/src/components/General/ValidatorProfile.tsx index 5352fc07..c046fc2d 100644 --- a/src/components/General/ValidatorProfile.tsx +++ b/src/components/General/ValidatorProfile.tsx @@ -2,6 +2,7 @@ import { Avatar, Text } from '@status-im/components' import { XStack, YStack } from 'tamagui' import { getFormattedValidatorAddress } from '../../utilities' +import { CopyIcon } from '@status-im/icons' type ValidatorProfileProps = { number: number @@ -22,9 +23,12 @@ const ValidatorProfile = ({ number, address }: ValidatorProfileProps) => { Validator {number} - - {getFormattedValidatorAddress(address)} - + + + {getFormattedValidatorAddress(address)} + + + )