@aoeu/external-link

0.1.1 • Public • Published

@aoeu/external-link

yarn add @aoeu/external-link

This component renders an anchor (a) tag that is designed to safely open the target href attribute in a new window/tab. It does so by adding the target="_blank" and rel="noreferrer" attributes.

For example:

<ExternalLink url="https://theartofeducation.edu">aoeu.edu</ExternalLink>

Will generate:

<a href="https://theartofeducation.edu" target="_blank" rel="noreferrer">aoeu.edu</a>

Readme

Keywords

none

Package Sidebar

Install

npm i @aoeu/external-link

Weekly Downloads

4

Version

0.1.1

License

MIT

Unpacked Size

6.25 kB

Total Files

6

Last publish

Collaborators

  • ryexley
  • thomas.jean
  • theantichris