Improve linking and link more things

This commit is contained in:
Julia Friesel
2018-12-23 18:15:03 +01:00
parent 300d7178f1
commit 27b4a454ec
7 changed files with 76 additions and 39 deletions
-13
View File
@@ -1,13 +0,0 @@
import React from 'react'
import { Linking } from 'react-native'
import AppText from "./app-text"
import styles from '../styles';
export default function Link(props) {
return (
<AppText
style={styles.link}
onPress={() => Linking.openURL(props.href)}
>{props.text}</AppText>
)
}