JSPM

react-native-a

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 13
  • Score
    100M100P100Q51970F
  • License ISC

Hyperlink Component for React Native

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>
  );
}
  1. Simplest usage without href but URL inside text (default blue hyperlink)
    <A>Example.com</A>

  2. With href:
    <A href="example.com">Example</A>
    <A href="http://example.com">Example.com</A>
    <A href="https://example.com">Example</A>

  3. With style:
    <A style={{fontWeight: 'bold'}}>Example.com</A>

Made with ❤️ by Softek