Add symptom view component with back button listener

This commit is contained in:
Julia Friesel
2019-05-11 17:42:57 +02:00
parent 2528c03315
commit 08fd3afc34
11 changed files with 113 additions and 72 deletions
@@ -1,11 +1,12 @@
import React, { Component } from 'react'
import React from 'react'
import { ScrollView } from 'react-native'
import AppText from '../../app-text'
import labels from '../../../i18n/en/symptom-info.js'
import FramedSegment from '../../framed-segment'
import styles from '../../../styles/index'
import SymptomView from './symptom-view'
export default class InfoSymptom extends Component {
export default class InfoSymptom extends SymptomView {
render() {
const symptomView = this.props.symptomView
const symptomMapping = {