Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 742 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 742 Bytes

<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.