Use the inline link component when your link is in a paragraph or sentence. Link should navigate you to a new page or to further information.
On this page
| Name | Description | Default |
|---|---|---|
| children | Link text ReactNode | - |
| asChild | Component will delegate outermost React element to use first element passed within children boolean | - |
| isInline | If true, anchor is an inline link boolean | - |
| onClick | The event handler for click events on anchor MouseEventHandler<HTMLAnchorElement> | - |
| aria-describedby | ID of element providing further context and description of the link string | - |
| icon | Custom icon to be displayed instead of the link icon ReactElement<any, string | JSXElementConstructor<any>> | - |
| href | The URL that the hyperlink points to. string | - |
| reactlytics | ReactlyticsProp | - |
Connect with the DLS Team on Slack or by email.
Check out additional resources.