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

style: Adjust EthHashInfo name font weight #183

Merged
merged 4 commits into from
Jan 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gnosis.pm/safe-react-components",
"version": "0.9.6",
"version": "0.9.7",
"description": "Gnosis UI components",
"main": "dist/index.min.js",
"typings": "dist/index.d.ts",
Expand Down
4 changes: 3 additions & 1 deletion src/ethereum/EthHashInfo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ type Props = {
showHash?: boolean;
shortenHash?: number;
name?: string;
strongName?: boolean;
textColor?: ThemeColors;
textSize?: ThemeTextSize;
showAvatar?: boolean;
Expand Down Expand Up @@ -81,6 +82,7 @@ const EthHashInfo = ({
hash,
showHash = true,
name,
strongName = false,
textColor = 'text',
textSize = 'lg',
className,
Expand Down Expand Up @@ -125,7 +127,7 @@ const EthHashInfo = ({

<InfoContainer>
{name && (
<Text size={textSize} color={textColor}>
<Text size={textSize} color={textColor} strong={strongName}>
{name}
</Text>
)}
Expand Down