diff --git a/src/components/General/LinkWithArrow.tsx b/src/components/General/LinkWithArrow.tsx new file mode 100644 index 00000000..b67298ab --- /dev/null +++ b/src/components/General/LinkWithArrow.tsx @@ -0,0 +1,29 @@ +import { Text } from '@status-im/components' +import { Link } from 'react-router-dom' +import { Stack, XStack } from 'tamagui' +import { ArrowLeftIcon, ArrowRightIcon } from '@status-im/icons' + +type LinkWithArrowProps = { + text: string + to: string + arrowLeft?: boolean + arrowRight?: boolean +} + +const LinkWithArrow = ({ text, to, arrowLeft, arrowRight }: LinkWithArrowProps) => { + return ( + + + + {arrowLeft && } + + {text} + + {arrowRight && } + + + + ) +} + +export default LinkWithArrow