diff --git a/src/pages/ValidatorOnboarding/ValidatorSetup/ConsensusSelectionCard.tsx b/src/pages/ValidatorOnboarding/ValidatorSetup/ConsensusSelectionCard.tsx new file mode 100644 index 00000000..27bdaac3 --- /dev/null +++ b/src/pages/ValidatorOnboarding/ValidatorSetup/ConsensusSelectionCard.tsx @@ -0,0 +1,56 @@ +import { Stack, XStack, YStack } from 'tamagui' +import { ClearIcon } from '@status-im/icons' +import { Text } from '@status-im/components' +import StandardGauge from '../../../components/Charts/StandardGauge' +import BorderBox from '../../../components/General/BorderBox' +import { formatNumberForGauge } from '../../../utilities' + +type ConsensusGaugeCardProps = { + synced: number + total: number + title: string + color: string +} + +const ConsensusGaugeCard = ({ synced, total, title, color }: ConsensusGaugeCardProps) => { + return ( + + + + + + + + {title} + + + {formatNumberForGauge(synced)} / {formatNumberForGauge(total)} + + + + + + ) +} + +export default ConsensusGaugeCard