1.0.11 • Published 2 years ago

@paprika/link v1.0.11

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@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

PropTyperequireddefaultDescription
a11yTextstring,nullfalsenullText for aria-label.
isExternalLinkbooleanfalsefalseOpen url in a new Tab, is indicated by a Tab icon after the link.
hasNoUnderlinebooleanfalsefalseRemove the default underline
hasTruncationbooleanfalsefalseIf hasTruncation is set to true, the link will stay in one line
isDarkbooleanfalsefalseChange font-color according to background color, set font-color to white
isSubtlebooleanfalsefalseSet font-color to black
isMenubooleanfalsefalseIcon + text format for Menu
childrenReactReactNodefalsenullContent to be displayed: texts, icons, etc.
maxWidthstring,numberfalse"100%"Max-width for Link to be truncate, using a number implies px units.

Links

1.0.11-next.0

2 years ago

1.0.10-next.0

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.9-next.0

2 years ago

1.0.7-next.0

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.8-next.0

3 years ago

1.0.6-next.0

3 years ago

1.0.6-next.1

3 years ago

1.0.6

3 years ago

1.0.5-next.0

3 years ago

1.0.5

3 years ago

1.0.4-next.0

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.3-next.0

3 years ago

1.0.2

3 years ago

1.0.2-next.1

3 years ago

1.0.2-next.0

3 years ago

1.0.1

3 years ago

1.0.1-next.0

3 years ago