diff --git a/src/pages/ValidatorOnboarding/KeyGeneration/SyncCard.tsx b/src/pages/ValidatorOnboarding/KeyGeneration/SyncCard.tsx new file mode 100644 index 00000000..ce399e64 --- /dev/null +++ b/src/pages/ValidatorOnboarding/KeyGeneration/SyncCard.tsx @@ -0,0 +1,57 @@ +import { Stack, XStack, YStack } from 'tamagui' +import StandardGauge from '../../../components/Charts/StandardGauge' +import { ClearIcon } from '@status-im/icons' +import { Text } from '@status-im/components' + +type SyncCardProps = { + synced: number + total: number + title: string +} + +const SyncCard = ({ synced, total, title }: SyncCardProps) => { + const data = () => { + return [ + { + id: 'storage', + label: 'Used', + value: synced, + color: '#2a4af5', + }, + { + id: 'storage', + label: 'Free', + value: total - synced || 1, + color: '#E7EAEE', + }, + ] + } + + return ( + + + + + + + {title} + + + {synced} / {total} + + + + + ) +} + +export default SyncCard