diff --git a/public/icons/rubiks cube.png b/public/icons/rubiks-cube.png similarity index 100% rename from public/icons/rubiks cube.png rename to public/icons/rubiks-cube.png diff --git a/src/pages/ValidatorManagement/ManageValidator/ValidatorDataCard.tsx b/src/pages/ValidatorManagement/ManageValidator/ValidatorDataCard.tsx index a6789184..05c7fafd 100644 --- a/src/pages/ValidatorManagement/ManageValidator/ValidatorDataCard.tsx +++ b/src/pages/ValidatorManagement/ManageValidator/ValidatorDataCard.tsx @@ -1,30 +1,40 @@ import { Text } from '@status-im/components' -import { Stack, YStack } from 'tamagui' +import { Stack, XStack, YStack } from 'tamagui' +import Icon from '../../../components/General/Icon' type ValidatorDataCardProps = { title: string value: string + iconPath: string } -const ValidatorDataCard = ({ title, value }: ValidatorDataCardProps) => { +const ValidatorDataCard = ({ + title, + value, + iconPath, +}: ValidatorDataCardProps) => { return ( - + - + {title} - + {value} - + ) } diff --git a/src/pages/ValidatorManagement/ManageValidator/ValidatorDataCards.tsx b/src/pages/ValidatorManagement/ManageValidator/ValidatorDataCards.tsx index 9a2d5541..8c2aa78f 100644 --- a/src/pages/ValidatorManagement/ManageValidator/ValidatorDataCards.tsx +++ b/src/pages/ValidatorManagement/ManageValidator/ValidatorDataCards.tsx @@ -15,11 +15,14 @@ const ValidatorDataCards = () => { }} > - - - - - + + + + ) } diff --git a/src/pages/ValidatorManagement/ManageValidator/ValidatorPeersCard.tsx b/src/pages/ValidatorManagement/ManageValidator/ValidatorPeersCard.tsx index 29976a18..23c386b8 100644 --- a/src/pages/ValidatorManagement/ManageValidator/ValidatorPeersCard.tsx +++ b/src/pages/ValidatorManagement/ManageValidator/ValidatorPeersCard.tsx @@ -47,7 +47,7 @@ const ValidatorPeersCard = ({ title, value }: ValidatorPeersCardProps) => { - + {title}