Newer
Older
import styles from "../styles"
import Link from './link'
// we parse for links in case the text contains any
<Link>
<Text
style={[styles.appText, props.style]}
onPress={props.onPress}
>
{props.children}
</Text>
</Link>
export function ActionHint(props) {
if(props.isVisible) {
return (
<AppText
style={[styles.actionHint, props.style]}>
{props.children}
</AppText>
)
} else {
return null
}
export function SymptomSectionHeader(props) {
return (
<AppText style={styles.symptomViewHeading}>
{props.children}
</AppText>
)