diff --git a/assets/svg/ArrowRightStick.js b/assets/svg/ArrowRightStick.js new file mode 100644 index 00000000..b30fbad2 --- /dev/null +++ b/assets/svg/ArrowRightStick.js @@ -0,0 +1,19 @@ +import * as React from 'react'; +import Svg, {Path} from 'react-native-svg'; + +const SvgComponent = (props) => ( + + + +); + +export default SvgComponent; diff --git a/src/scenes/exercise/exercise-item.js b/src/scenes/exercise/exercise-item.js index 3d6b494a..0ed534ad 100644 --- a/src/scenes/exercise/exercise-item.js +++ b/src/scenes/exercise/exercise-item.js @@ -4,6 +4,7 @@ import {parseISO, differenceInDays} from 'date-fns'; import Icon from '../../components/Icon'; import {colors} from '../../utils/colors'; +import ArrowRightStick from '../../../assets/svg/ArrowRightStick'; export default ({patientState, date, navigation}) => { const data = patientState?.becks; @@ -46,10 +47,11 @@ export default ({patientState, date, navigation}) => { <> {beck?.mainEmotion} -{' '} - {`${beck?.mainEmotionIntensity * 10}%`} + {`${beck?.mainEmotionIntensity * 10}% `} {beck?.mainEmotionIntensityNuanced ? ( - {' →'} {beck?.mainEmotionIntensityNuanced * 10}% + {' '} + {beck?.mainEmotionIntensityNuanced * 10}% ) : null}