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)} + + + + );