@app-elements/linkify

Convert URLs found in a string to anchor elements.

Usage no npm install needed!

<script type="module">
  import appElementsLinkify from 'https://cdn.skypack.dev/@app-elements/linkify';
</script>

README

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