Skip to content

Commit

Permalink
Add icon padding
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandec committed Sep 19, 2024
1 parent 87eca78 commit 602728a
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions VAMobile/src/components/ClickForActionLinkDeprecated.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,15 @@ const ClickForActionLinkDeprecated: FC<LinkButtonProps> = ({
<TouchableWithoutFeedback testID={testID} {...pressableProps}>
<Box flexDirection={'row'} alignItems={'center'} py={py} pr={pr}>
{!hideIcon && (
<VAIcon
name={getIconName()}
fill={colorOverride ? (colorOverride as ColorVariant) : 'link'}
fill2={colorOverride ? 'transparent' : ''}
width={25}
height={25}
/>
<Box pr={5}>
<VAIcon
name={getIconName()}
fill={colorOverride ? (colorOverride as ColorVariant) : 'link'}
fill2={colorOverride ? 'transparent' : ''}
width={25}
height={25}
/>
</Box>
)}
<Box flexShrink={1}>
<TextView {...textViewProps}>{displayedText}</TextView>
Expand Down

0 comments on commit 602728a

Please sign in to comment.