Skip to content

Commit

Permalink
feat: redesigned rpl stake chart for rpip30
Browse files Browse the repository at this point in the history
  • Loading branch information
dmccartney committed Apr 17, 2024
1 parent baff82b commit 4d71d7b
Show file tree
Hide file tree
Showing 3 changed files with 282 additions and 205 deletions.
6 changes: 2 additions & 4 deletions web/src/components/CurrencyValue.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const typeVariantBySize = {
};
export default function CurrencyValue({
value = ethers.constants.Zero,
valueColor = (theme) => theme.palette.text.primary,
prefix = "",
currency = "eth",
perCurrency = null,
Expand Down Expand Up @@ -62,10 +63,7 @@ export default function CurrencyValue({
spacing={typeVariants.spacing}
{...props}
>
<Typography
variant={typeVariants.value}
color={(theme) => theme.palette.text.primary}
>
<Typography variant={typeVariants.value} color={valueColor}>
{prefix}
{valueText}
</Typography>
Expand Down
Loading

0 comments on commit 4d71d7b

Please sign in to comment.