bigmoves / react-autolink-text

A React component for converting URLs in a given string of text into clicking link tags.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

<AutoLinkText />

build status

A React component for converting URLs in a given string of text into clicking link tags.

Installation

npm install react-autolink-text

Usage

import ReactDOM from 'react-dom';
import AutoLinkText from 'react-autolink-text';

ReactDOM.render(
  <AutoLinkText text="Check out this cool component: http://github.com/OpenGov/react-autolink-text" />,
  document.body
);

Thanks

Thank you to @gregjacobs for creating Autolinker.js from which this component was based.

About

A React component for converting URLs in a given string of text into clicking link tags.

License:Other


Languages

Language:JavaScript 100.0%