Files
drip/components/app-text.js
T
Julia Friesel 0aa8179570 Add link
2018-12-20 15:45:13 +01:00

30 lines
571 B
JavaScript

import React from 'react'
import { Text } from 'react-native'
import styles from "../styles"
export default function AppText(props) {
return (
<Text
style={[styles.appText, props.style]}
onPress={props.onPress}
>
{props.children}
</Text>
)
}
export function AppTextLight(props) {
return (
<Text style={[styles.appTextLight, props.style]}>
{props.children}
</Text>
)
}
export function SymptomSectionHeader(props) {
return (
<AppText style={styles.symptomViewHeading}>
{props.children}
</AppText>
)
}