-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
169 additions
and
163 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
.row { | ||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
flex: 1; | ||
} | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import clsx from 'clsx' | ||
import Typography from 'components/Typography' | ||
import { LinkMaker } from 'utils/helper' | ||
import styles from './style.module.scss' | ||
|
||
type Props = { | ||
index: number | ||
account: AstraHolder | ||
} | ||
|
||
export default function HolderRow({ index, account }: Props) { | ||
return ( | ||
<div | ||
className={clsx( | ||
styles.rowBrief, | ||
styles.tokenRow, | ||
'row padding-left-lg', | ||
'padding-right-lg padding-top-sm padding-bottom-sm', | ||
'radius-lg', | ||
'margin-bottom-xs' | ||
)} | ||
> | ||
<div className={clsx('text text-base contrast-color-70 text-center margin-right-lg')}>{index}</div> | ||
<div className={clsx(styles.borderLeft, 'col-5 padding-left-lg block-ver-center')}> | ||
<Typography.LinkText href={LinkMaker.token(account.address.hash)} className={['text', 'text-base']}> | ||
{account.address.hash} | ||
</Typography.LinkText> | ||
</div> | ||
<div className={clsx(styles.borderLeft, 'col-5 padding-left-lg ')}> | ||
<span className={clsx('money money-sm money-bold padding-right-xs')}> | ||
{account.address.fetched_coin_balance.value} | ||
</span> | ||
<span className={clsx(styles.currency, 'money money-sm money-bold')}>ASA</span> | ||
</div> | ||
|
||
<div | ||
className={clsx( | ||
styles.borderLeft, | ||
'padding-left-lg text-center money money-xs contrast-color-70 block-ver-center col-2' | ||
)} | ||
> | ||
{account.address.transactions_count || 0} | ||
</div> | ||
</div> | ||
) | ||
} |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.