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
+23
View File
@@ -0,0 +1,23 @@
import React, { Component } from 'react'
import { Text } from 'react-native'
import styles from "../styles"
export class AppText extends Component {
render() {
return (
<Text style={[styles.appText, this.props.style]}>
{this.props.children}
</Text>
)
}
}
export class SymptomSectionHeader extends Component {
render() {
return (
<AppText style={styles.symptomViewHeading}>
{this.props.children}
</AppText>
)
}
}