qat

Link

Link. It is copied into your app’s ui/ by qatjs add link: the code is yours to edit.

Example

Example.qx14 linesOpen in the playground
import Link from './ui/link/link.qx'

export default function Example() {
  return (
    <p class="example-row">
      <Link href="/docs">
        Read the docs
      </Link>
      <Link href="https://github.com/Saidaliyev7/qat" external>
        GitHub
      </Link>
    </p>
  )
}

Add it

shell1 line
npx qatjs add link

As a custom element: <ui-link>.

Link: props
PropTypeAttribute
hrefQatHrefyes
externalbooleanyes

Keys

KeyDoes
Enterfollow