diff --git a/src/components/General/TagContainer.tsx b/src/components/General/TagContainer.tsx index 525961b6..915f4b04 100644 --- a/src/components/General/TagContainer.tsx +++ b/src/components/General/TagContainer.tsx @@ -2,19 +2,52 @@ import { Tag } from '@status-im/components' import { XStack } from 'tamagui' import './TagContainer.css' import { ConnectionIcon, AddSmallIcon, SwapIcon } from '@status-im/icons' +import { useNavigate } from 'react-router' type TagContainerProps = { selectedTag: 'pair' | 'create' | 'connect' } const TagContainer = ({ selectedTag }: TagContainerProps) => { + const navigate = useNavigate() + + const onPressConnect = () => { + navigate('/connect-device') + } + + const onPressPair = () => { + navigate('/pair-device') + } + + const onPressCreate = () => { + navigate('/create-local-node') + } + return ( {selectedTag === 'connect' ? ( - + ) : null} - - + + ) }