@app-elements/linkify

0.1.1 • Public • Published

Linkify

Convert URLs found in a string to anchor elements.

Installation

npm install --save @app-elements/linkify

Usage

import { Linkify } from '@app-elements/linkify'

<Linkify text='Hey check this out, http://inputlogic.ca cool eh?' />

Props

Prop Type Default Description
text String null String to convert found URLs to anchors
anchorProps Object {} Props to pass down to each created anchor

Package Sidebar

Install

npm i @app-elements/linkify

Weekly Downloads

0

Version

0.1.1

License

ISC

Unpacked Size

17 kB

Total Files

11

Last publish

Collaborators

  • adriaanwm
  • coryschadt
  • staydecent
  • trustfall