From 4ad94708082a8680e512450739e7f9d2e1fe572d Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Wed, 30 Aug 2023 15:40:23 +0300 Subject: [PATCH] feat: add custom style to new link --- src/components/General/LinkWithArrow.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/General/LinkWithArrow.tsx b/src/components/General/LinkWithArrow.tsx index b67298ab..89f658d2 100644 --- a/src/components/General/LinkWithArrow.tsx +++ b/src/components/General/LinkWithArrow.tsx @@ -8,11 +8,12 @@ type LinkWithArrowProps = { to: string arrowLeft?: boolean arrowRight?: boolean + style?: React.CSSProperties } -const LinkWithArrow = ({ text, to, arrowLeft, arrowRight }: LinkWithArrowProps) => { +const LinkWithArrow = ({ text, to, arrowLeft, arrowRight, style }: LinkWithArrowProps) => { return ( - + {arrowLeft && }