DeprecatedThis package is deprecated
@paprika/external-link
Description
The ExternalLink component links to an external website.
Installation
yarn add @paprika/external-link
or with npm:
npm install @paprika/external-link
Props
ExternalLink
| 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>;