1.0.1 • Published 5 years ago
react-native-a v1.0.1
React Native Hyperlink
Hyperlink Component for React Native (<A>
Native tag) .
Installation
npm install react-native-a
Usage
...
import A from 'react-native-a';
...
render() {
return (
<View>
<Text>Made With ❤️ By <A>Softek.ir</A></Text>
</View>
);
}
Simplest usage without
href
butURL
inside text (default blue hyperlink)<A>Example.com</A>
With
href
:<A href="example.com">Example</A>
<A href="http://example.com">Example.com</A>
<A href="https://example.com">Example</A>
With
style
:<A style={{fontWeight: 'bold'}}>Example.com</A>
Made with :heart: by Softek