mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-01-21 00:40:09 +00:00
feat(dropdown-filter-management): use notification badge
This commit is contained in:
parent
2d6f58d479
commit
402f120d59
@ -2,6 +2,8 @@ import { DropdownMenu } from '@status-im/components'
|
|||||||
import { SortIcon } from '@status-im/icons'
|
import { SortIcon } from '@status-im/icons'
|
||||||
import { Stack } from 'tamagui'
|
import { Stack } from 'tamagui'
|
||||||
|
|
||||||
|
import NotificationBadge from '../../../components/General/NotificationBadge'
|
||||||
|
|
||||||
const DropdownFilter = () => {
|
const DropdownFilter = () => {
|
||||||
return (
|
return (
|
||||||
<DropdownMenu>
|
<DropdownMenu>
|
||||||
@ -18,18 +20,7 @@ const DropdownFilter = () => {
|
|||||||
cursor: 'pointer',
|
cursor: 'pointer',
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<Stack
|
<NotificationBadge />
|
||||||
style={{
|
|
||||||
position: 'absolute',
|
|
||||||
right: -2,
|
|
||||||
top: -1.5,
|
|
||||||
width: '9px',
|
|
||||||
height: '9px',
|
|
||||||
borderRadius: '50%',
|
|
||||||
backgroundColor: '#1992D7',
|
|
||||||
border: '1.5px solid #fff',
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</Stack>
|
</Stack>
|
||||||
<DropdownMenu.Content sideOffset={5} position="absolute" zIndex={999} />
|
<DropdownMenu.Content sideOffset={5} position="absolute" zIndex={999} />
|
||||||
</DropdownMenu>
|
</DropdownMenu>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user