Improve linking and link more things
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user