fix(Link): improve type prop

This commit is contained in:
Benjamin Canac
2024-03-20 12:34:44 +01:00
parent 68f3da8816
commit 802a15990d

View File

@@ -1,10 +1,11 @@
<script lang="ts">
import type { ButtonHTMLAttributes } from 'vue'
import type { PrimitiveProps } from 'radix-vue'
import type { NuxtLinkProps } from '#app'
import { pick } from '#ui/utils'
export interface LinkProps extends NuxtLinkProps, Omit<PrimitiveProps, 'asChild'> {
type?: string
type?: ButtonHTMLAttributes['type']
disabled?: boolean
active?: boolean
exact?: boolean