@paprika/link
TypeScript icon, indicating that this package has built-in type declarations

1.0.11 • Public • Published

@paprika/link

Description

The Link component produces a standard anchor tag that navigates to another URL.

Installation

yarn add @paprika/link

or with npm:

npm install @paprika/link

Props

Link

Prop Type required default Description
a11yText [string,null] false null Text for aria-label.
isExternalLink boolean false false Open url in a new Tab, is indicated by a Tab icon after the link.
hasNoUnderline boolean false false Remove the default underline
hasTruncation boolean false false If hasTruncation is set to true, the link will stay in one line
isDark boolean false false Change font-color according to background color, set font-color to white
isSubtle boolean false false Set font-color to black
isMenu boolean false false Icon + text format for Menu
children ReactReactNode false null Content to be displayed: texts, icons, etc.
maxWidth [string,number] false "100%" Max-width for Link to be truncate, using a number implies px units.

Links

Readme

Keywords

none

Package Sidebar

Install

npm i @paprika/link

Weekly Downloads

487

Version

1.0.11

License

MIT

Unpacked Size

39.4 kB

Total Files

23

Last publish

Collaborators

  • vkhimich
  • mikrotron
  • jamiek-galvanize
  • allison_cc