From 30d9a2653ba22f8631d9c9a108793053d4de0b18 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Fri, 27 Sep 2024 12:49:32 +0200 Subject: [PATCH] chore(Link): allow `title` field --- src/runtime/utils/link.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/utils/link.ts b/src/runtime/utils/link.ts index 912b6f7b..263c8ca9 100644 --- a/src/runtime/utils/link.ts +++ b/src/runtime/utils/link.ts @@ -1,6 +1,6 @@ import { reactivePick } from '@vueuse/core' import type { LinkProps } from '../types' -export function pickLinkProps(link: LinkProps & { ariaLabel?: string }) { - return reactivePick(link, 'active', 'activeClass', 'ariaCurrentValue', 'ariaLabel', 'as', 'disabled', 'exact', 'exactActiveClass', 'exactHash', 'exactQuery', 'external', 'href', 'inactiveClass', 'noPrefetch', 'noRel', 'prefetch', 'prefetchedClass', 'rel', 'replace', 'target', 'to', 'type') +export function pickLinkProps(link: LinkProps & { ariaLabel?: string, title?: string }) { + return reactivePick(link, 'active', 'activeClass', 'ariaCurrentValue', 'ariaLabel', 'as', 'disabled', 'exact', 'exactActiveClass', 'exactHash', 'exactQuery', 'external', 'href', 'inactiveClass', 'noPrefetch', 'noRel', 'prefetch', 'prefetchedClass', 'rel', 'replace', 'target', 'to', 'type', 'title') }