mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
chore(LinkBase): update types for nuxt@3.16
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
<script lang="ts">
|
||||
import type { LinkProps } from '../types'
|
||||
|
||||
export interface LinkBaseProps {
|
||||
as?: string
|
||||
type?: string
|
||||
@@ -6,8 +8,8 @@ export interface LinkBaseProps {
|
||||
onClick?: ((e: MouseEvent) => void | Promise<void>) | Array<((e: MouseEvent) => void | Promise<void>)>
|
||||
href?: string
|
||||
navigate?: (e: MouseEvent) => void
|
||||
rel?: string
|
||||
target?: string
|
||||
target?: LinkProps['target']
|
||||
rel?: LinkProps['rel']
|
||||
isExternal?: boolean
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user