feat: add dropdown menu
This commit is contained in:
parent
fb6768f9e0
commit
6f9f9e38f8
|
@ -1,5 +1,5 @@
|
||||||
import { Input, Text } from '@status-im/components'
|
import { DropdownMenu, Input, Text } from '@status-im/components'
|
||||||
import { AddIcon, ChevronDownIcon } from '@status-im/icons'
|
import { AddIcon, ChevronDownIcon, EditIcon } from '@status-im/icons'
|
||||||
import { Stack, XStack, YStack } from 'tamagui'
|
import { Stack, XStack, YStack } from 'tamagui'
|
||||||
|
|
||||||
import DepositSubtitle from './DepositSubtitle'
|
import DepositSubtitle from './DepositSubtitle'
|
||||||
|
@ -40,7 +40,31 @@ const Validators = ({
|
||||||
<Text size={15} weight={'semibold'}>
|
<Text size={15} weight={'semibold'}>
|
||||||
USD
|
USD
|
||||||
</Text>
|
</Text>
|
||||||
|
<DropdownMenu>
|
||||||
<ChevronDownIcon size={16} color={'#919191'} style={{ cursor: 'pointer' }} />
|
<ChevronDownIcon size={16} color={'#919191'} style={{ cursor: 'pointer' }} />
|
||||||
|
<DropdownMenu.Content sideOffset={10}>
|
||||||
|
<DropdownMenu.Item
|
||||||
|
icon={<EditIcon size={20} />}
|
||||||
|
label="asdf"
|
||||||
|
onSelect={() => console.log('e')}
|
||||||
|
/>
|
||||||
|
<DropdownMenu.Item
|
||||||
|
icon={<EditIcon size={20} />}
|
||||||
|
label="asdf"
|
||||||
|
onSelect={() => console.log('e')}
|
||||||
|
/>
|
||||||
|
<DropdownMenu.Item
|
||||||
|
icon={<EditIcon size={20} />}
|
||||||
|
label="asdf"
|
||||||
|
onSelect={() => console.log('e')}
|
||||||
|
/>
|
||||||
|
<DropdownMenu.Item
|
||||||
|
icon={<EditIcon size={20} />}
|
||||||
|
label="asdf"
|
||||||
|
onSelect={() => console.log('e')}
|
||||||
|
/>
|
||||||
|
</DropdownMenu.Content>
|
||||||
|
</DropdownMenu>
|
||||||
</XStack>
|
</XStack>
|
||||||
<Text size={27} weight={'semibold'}>
|
<Text size={27} weight={'semibold'}>
|
||||||
$4,273 USD
|
$4,273 USD
|
||||||
|
|
Loading…
Reference in New Issue