Add app text component and remove radio button dep
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user