export VaidatorList

This commit is contained in:
Hristo Nedelkov 2023-09-27 11:33:28 +03:00
parent 6c4af99b3f
commit 39bff5d6a2
1 changed files with 3 additions and 8 deletions

View File

@ -2,6 +2,7 @@ import { Avatar, Tabs, Text } from '@status-im/components'
import { XStack, YStack } from 'tamagui'
import ValidatorListItem from './ValidatorListItem'
import InputSearch from './SearchInput'
import ValidatorsList from './ValidatorsList'
const RightSidebar = () => {
return (
@ -34,13 +35,7 @@ const RightSidebar = () => {
</Tabs.Trigger>
</Tabs.List>
<Tabs.Content value="active">
<InputSearch />
<YStack space={'$1'}>
<ValidatorListItem name={'Validator 1'} avatarKey={'37880sfsef38fsb'} selected={true} isAvatarChipIncluded isVerified />
<ValidatorListItem name={'Validator 2'} avatarKey={'hs880sfsef38fsb'} isVerified/>
<ValidatorListItem name={'Validator 3'} avatarKey={'3nh880sfsef38fsb'} isAvatarChipIncluded/>
<ValidatorListItem name={'Validator 4'} avatarKey={'fh7880sfsef38fsb'} />
</YStack>
<ValidatorsList />
</Tabs.Content>
<Tabs.Content value="pending"></Tabs.Content>
<Tabs.Content value="inactive"></Tabs.Content>