-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Issue-917]: Update UI - Update show/hide balance feature
- Loading branch information
dominhquang
committed
Aug 26, 2023
1 parent
a7bb0f6
commit 33eab6c
Showing
8 changed files
with
126 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import React from 'react'; | ||
import { Typography } from 'components/design-system-ui'; | ||
import { FontMedium, FontSemiBold } from 'styles/sharedStyles'; | ||
import { useSubWalletTheme } from 'hooks/useSubWalletTheme'; | ||
|
||
export const HideBalanceItem = () => { | ||
const theme = useSubWalletTheme().swThemes; | ||
return ( | ||
<> | ||
<Typography.Text | ||
style={{ | ||
fontSize: theme.fontSizeLG, | ||
...FontSemiBold, | ||
lineHeight: theme.lineHeightLG * theme.fontSizeLG, | ||
color: theme.colorTextLight1, | ||
}}> | ||
****** | ||
</Typography.Text> | ||
<Typography.Text | ||
style={{ | ||
...FontMedium, | ||
fontSize: theme.fontSizeSM, | ||
lineHeight: theme.lineHeightSM * theme.fontSizeSM, | ||
color: theme.colorTextLight4, | ||
}}> | ||
****** | ||
</Typography.Text> | ||
</> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters