Package Exports
- react-native-a
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-a) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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 ❤️ by Softek