Link
Link. It is copied into your app’s ui/ by qatjs add link: the code is yours to edit.
Example
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
npx qatjs add linkLink
As a custom element: <ui-link>.
| Prop | Type | Attribute |
|---|---|---|
href | QatHref | yes |
external | boolean | yes |
Keys
| Key | Does |
|---|---|
| Enter | follow |