1.0.12 • Published 7 months ago
@paprika/link v1.0.12
@paprika/link
Description
The Link component produces a standard anchor tag that navigates to another URL.
Installation
yarn add @paprika/linkor with npm:
npm install @paprika/linkProps
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
1.0.12-next.0
7 months ago
1.0.12
7 months ago
1.0.11-next.0
3 years ago
1.0.10-next.0
3 years ago
1.0.11
3 years ago
1.0.10
3 years ago
1.0.9
3 years ago
1.0.9-next.0
3 years ago
1.0.7-next.0
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.8-next.0
4 years ago
1.0.6-next.0
4 years ago
1.0.6-next.1
4 years ago
1.0.6
4 years ago
1.0.5-next.0
4 years ago
1.0.5
4 years ago
1.0.4-next.0
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.3-next.0
4 years ago
1.0.2
4 years ago
1.0.2-next.1
4 years ago
1.0.2-next.0
4 years ago
1.0.1
4 years ago
1.0.1-next.0
4 years ago