Skip to content

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

License

Notifications You must be signed in to change notification settings

joshparolin/react-autolink-text

 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%