Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 3b0f0ce

Browse files
authored
style: Adjust EthHashInfo name font weight (#182)
* style: Adjust EthHashInfo name font weight * fix: Add bold name prop to EthHashInfo * refactor: Rename boldName prop
1 parent f8037c0 commit 3b0f0ce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ethereum/EthHashInfo/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ type Props = {
4747
showHash?: boolean;
4848
shortenHash?: number;
4949
name?: string;
50+
strongName?: boolean;
5051
textColor?: ThemeColors;
5152
textSize?: ThemeTextSize;
5253
showAvatar?: boolean;
@@ -81,6 +82,7 @@ const EthHashInfo = ({
8182
hash,
8283
showHash = true,
8384
name,
85+
strongName = false,
8486
textColor = 'text',
8587
textSize = 'lg',
8688
className,
@@ -125,7 +127,7 @@ const EthHashInfo = ({
125127

126128
<InfoContainer>
127129
{name && (
128-
<Text size={textSize} color={textColor}>
130+
<Text size={textSize} color={textColor} strong={strongName}>
129131
{name}
130132
</Text>
131133
)}

0 commit comments

Comments
 (0)