LinkText

An inline text hyperlink.

It implements the <a> element.

Props

Use any valid <a> props.

Examples

External link.
import { LinkText } from 'device-agnostic-ui'

<LinkText href="https://reactjs.org">React</LinkText>
Internal Next.js route link.
import { LinkText } from 'device-agnostic-ui'
import Link from 'next/link'

<Link href="/" passHref>
  <LinkText>Home</LinkText>
</Link>

Tags