npm.io
2.0.19 • Published 4 years ago

@paprika/external-link

Licence
MIT
Version
2.0.19
Deps
5
Size
20 kB
Vulns
0
Weekly
0
Stars
55
DeprecatedThis package is deprecated

Description

The ExternalLink component links to an external website.

Installation

yarn add @paprika/external-link

or with npm:

npm install @paprika/external-link

Props

Prop Type required default Description
a11yText string false null Text for aria-label.
children string true - Link text for showing.
hasNoUnderline bool false false It should not show the underline on text content
href string true - Link url for the target.
Usage

Using with paprika <ExternalLink />

import ExternalLink from "@paprika/external-link";

<ExternalLink href="http://wegalvanize.com">This is an example of the text for component</ExternalLink>;