diff --git a/VAMobile/src/components/PhotoAdd.tsx b/VAMobile/src/components/PhotoAdd.tsx index 6562ec36c7..a094578785 100644 --- a/VAMobile/src/components/PhotoAdd.tsx +++ b/VAMobile/src/components/PhotoAdd.tsx @@ -2,11 +2,13 @@ import React, { FC } from 'react' import { useTranslation } from 'react-i18next' import { Pressable, PressableProps } from 'react-native' +import { Icon } from '@department-of-veterans-affairs/mobile-component-library' + import { NAMESPACE } from 'constants/namespaces' import { useTheme } from 'utils/hooks' import TextView, { TextViewProps } from './TextView' -import { Box, BoxProps, VAIcon } from './index' +import { Box, BoxProps } from './index' type PhotoAddProps = { /** width of the component */ @@ -49,14 +51,7 @@ const PhotoAdd: FC = ({ width, height, onPress }) => { return ( - + {t('fileUpload.addPhoto')} diff --git a/VAMobile/src/components/PhotoUpload.tsx b/VAMobile/src/components/PhotoUpload.tsx index f1be319e8c..532a033946 100644 --- a/VAMobile/src/components/PhotoUpload.tsx +++ b/VAMobile/src/components/PhotoUpload.tsx @@ -5,6 +5,7 @@ import { ImagePickerResponse, launchCamera, launchImageLibrary } from 'react-nat import AsyncStorage from '@react-native-async-storage/async-storage' +import { Icon } from '@department-of-veterans-affairs/mobile-component-library' import styled from 'styled-components' import { NAMESPACE } from 'constants/namespaces' @@ -14,7 +15,6 @@ import { themeFn } from 'utils/theme' import Box, { BoxProps } from './Box' import TextView from './TextView' -import { VAIcon } from './index' type PhotoUploadProps = { /** width of the photo */ @@ -169,7 +169,7 @@ const PhotoUpload: FC = ({ width, height }) => { ) : ( - + {t('veteranStatus.uploadPhoto')}