Add app text component and remove radio button dep

This commit is contained in:
Julia Friesel
2018-09-01 18:11:55 +02:00
parent ca8764aa4b
commit 8b37fa3ca4
17 changed files with 1626 additions and 1643 deletions
+3 -3
View File
@@ -2,7 +2,6 @@ import React, { Component } from 'react'
import {
ScrollView,
View,
Text,
TouchableOpacity,
Dimensions
} from 'react-native'
@@ -22,6 +21,7 @@ import {
cervixPosition as positionLabels,
intensity as intensityLabels
} from './labels/labels'
import { AppText } from '../app-text'
export default class CycleDayOverView extends Component {
constructor(props) {
@@ -198,10 +198,10 @@ class SymptomBox extends Component {
name='thermometer'
{...iconStyle}
/>
<Text style={[textActive, disabledStyle]}>{this.props.title}</Text>
<AppText style={[textActive, disabledStyle]}>{this.props.title}</AppText>
</View>
<View style={[styles.symptomDataBox, disabledStyle]}>
<Text style={styles.symptomDataText}>{this.props.data}</Text>
<AppText style={styles.symptomDataText}>{this.props.data}</AppText>
</View>
</TouchableOpacity>
)