mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-15 04:29:37 +01:00
fix: import from ../types/index
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { reactivePick } from '@vueuse/core'
|
||||
import type { LinkProps } from '../types'
|
||||
import type { LinkProps } from '../types/index'
|
||||
|
||||
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')
|
||||
|
||||
Reference in New Issue
Block a user