Link
The Link
component is a wrapper around the native a
element. It is used to navigate between pages.
<Link href="/about">About</Link>
Props
This takes all the props from the default props table and all the native <a>
element.
Name | Type | Default | Description |
---|---|---|---|
textDecoration | string | underline | The text decoration of the link. |
textUnderlineOffset | string | 0.5 | The offset of the text underline. |
textUnderlinePosition | string | under | The position of the text underline. |
textDecorationColor | string | text | The color of the text decoration. |
textDecorationStyle | string | solid | The style of the text decoration. |
textDecorationThickness | string | auto | The thickness of the text decoration. |
disabled | bool | false | Disables the link. |