react-native-text-hypertext

0.15.0 • Public • Published

react-native-text-hypertext

Alpha

Create a tag with hypertext inside it using tag on the text it receives

Installation

npm install --save react-native-text-hypertext

Import

import HyperText from 'react-native-text-hypertext'

Usage

<HyperText linkColor='#007AB8' linkSize='16'>
    {'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book <a href="www.example.com">please accept our terms and conditions</a>'}
</HyperText>

Important

links must look like this where the url is inside the href

<a href="www.example.com">please accept our terms and conditions</a>

/react-native-text-hypertext/

    Package Sidebar

    Install

    npm i react-native-text-hypertext

    Weekly Downloads

    0

    Version

    0.15.0

    License

    ISC

    Last publish

    Collaborators

    • jvelezpo