Skip to content

khalilst/react-native-a

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Hyperlink Component for React Native

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published