From 4995dde705dac1c1c84da4a2b03b81fa04f6fe7d Mon Sep 17 00:00:00 2001 From: Gala Date: Thu, 15 Dec 2022 14:18:01 +0100 Subject: [PATCH] bond table changes --- nym-wallet/src/components/IdentityKey.tsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/nym-wallet/src/components/IdentityKey.tsx b/nym-wallet/src/components/IdentityKey.tsx index bca08ab68c..372a6bf40d 100644 --- a/nym-wallet/src/components/IdentityKey.tsx +++ b/nym-wallet/src/components/IdentityKey.tsx @@ -1,13 +1,15 @@ import React from 'react'; -import { Stack, Typography } from '@mui/material'; +import { Stack, Typography, Tooltip } from '@mui/material'; import { CopyToClipboard } from '@nymproject/react/clipboard/CopyToClipboard'; import { splice } from 'src/utils'; -export const IdentityKey = ({ identityKey }: { identityKey: string }) => ( - - - {splice(6, identityKey)} - - - +export const IdentityKey = ({ identityKey, tooltipTitle }: { identityKey: string; tooltipTitle?: string }) => ( + + + + {splice(6, identityKey)} + + + + );