feat(vaidator data cards): add data to cards
Co-authored-by: Emil Ivanichkov <emil.ivanichkov@gmail.com>
This commit is contained in:
parent
72ada71c60
commit
f6442e3f27
|
@ -1,5 +1,5 @@
|
||||||
import { Text } from '@status-im/components'
|
import { Text } from '@status-im/components'
|
||||||
import { Stack, XStack, YStack } from 'tamagui'
|
import { XStack, YStack } from 'tamagui'
|
||||||
import Icon from '../../../components/General/Icon'
|
import Icon from '../../../components/General/Icon'
|
||||||
|
|
||||||
type ValidatorDataCardProps = {
|
type ValidatorDataCardProps = {
|
||||||
|
|
|
@ -15,14 +15,22 @@ const ValidatorDataCards = () => {
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<ValidatorPeersCard title="Peers" value="67"></ValidatorPeersCard>
|
<ValidatorPeersCard title="Peers" value="67"></ValidatorPeersCard>
|
||||||
<ValidatorDataCard title="Blocks" value={1900} fractionValue={1023} iconPath="ghost.png" isFractionResult={true}/>
|
<ValidatorDataCard title="Slots Behind" value={19} iconPath="ghost.png" />
|
||||||
<ValidatorDataCard
|
<ValidatorDataCard
|
||||||
title="Attestations"
|
title="Blocks"
|
||||||
value={1452}
|
value={1452}
|
||||||
iconPath="rubiks-cube.png"
|
iconPath="rubiks-cube.png"
|
||||||
|
isFractionResult={true}
|
||||||
|
fractionValue={987}
|
||||||
/>
|
/>
|
||||||
<ValidatorDataCard title="Syncs" value={45} iconPath="pacman.png" />
|
<ValidatorDataCard
|
||||||
<ValidatorDataCard title="Deposits" value={1} iconPath="toaster.png" />
|
title="Attestations"
|
||||||
|
value={2199}
|
||||||
|
iconPath="pacman.png"
|
||||||
|
fractionValue={1023}
|
||||||
|
isFractionResult={true}
|
||||||
|
/>
|
||||||
|
<ValidatorDataCard title="Syncs" value={1} iconPath="toaster.png" />
|
||||||
</Stack>
|
</Stack>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue