diff --git a/VAMobile/src/components/AttachmentLink.tsx b/VAMobile/src/components/AttachmentLink.tsx index 3f0d2e403e..03e0796416 100644 --- a/VAMobile/src/components/AttachmentLink.tsx +++ b/VAMobile/src/components/AttachmentLink.tsx @@ -1,6 +1,8 @@ import React, { FC } from 'react' import { AccessibilityProps, Pressable, PressableProps } from 'react-native' +import { Icon } from '@department-of-veterans-affairs/mobile-component-library' + import { a11yHintProp } from 'utils/accessibility' import { useTheme } from 'utils/hooks' import { featureEnabled } from 'utils/remoteConfig' @@ -8,7 +10,6 @@ import { featureEnabled } from 'utils/remoteConfig' import Box from './Box' import LinkWithAnalytics from './LinkWithAnalytics' import TextView from './TextView' -import VAIcon from './VAIcon' export type AttachmentLinkProps = { /** Name of link/attachment */ @@ -57,7 +58,7 @@ const AttachmentLink: FC = ({ - + {text} diff --git a/VAMobile/src/components/FormWrapper/FormFields/FormAttachments.tsx b/VAMobile/src/components/FormWrapper/FormFields/FormAttachments.tsx index 8c5b11652d..97c14f3a62 100644 --- a/VAMobile/src/components/FormWrapper/FormFields/FormAttachments.tsx +++ b/VAMobile/src/components/FormWrapper/FormFields/FormAttachments.tsx @@ -2,10 +2,10 @@ import React, { FC, ReactNode } from 'react' import { useTranslation } from 'react-i18next' import { ImagePickerResponse } from 'react-native-image-picker/src/types' -import { Button, ButtonVariants } from '@department-of-veterans-affairs/mobile-component-library' +import { Button, ButtonVariants, Icon } from '@department-of-veterans-affairs/mobile-component-library' import _ from 'underscore' -import { Box, TextView, VAIcon } from 'components/index' +import { Box, TextView } from 'components/index' import { NAMESPACE } from 'constants/namespaces' import { DocumentPickerResponse } from 'screens/BenefitsScreen/BenefitsStackScreens' import { getFileDisplay } from 'utils/common' @@ -45,21 +45,19 @@ const FormAttachments: FC = ({ return ( - - - - {text} - + flexDirection={'row'} + mr={theme.dimensions.gutter} + mt={index !== 0 ? theme.dimensions.condensedMarginBetween : 0} + mb={theme.dimensions.condensedMarginBetween}> + + + + {text} +