Files
web/components/TempDesignSystem/Link/link.ts
2024-09-27 14:23:49 +02:00

15 lines
377 B
TypeScript

import { linkVariants } from "./variants"
import type { VariantProps } from "class-variance-authority"
export interface LinkProps
extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "color">,
VariantProps<typeof linkVariants> {
href: string
scroll?: boolean
partialMatch?: boolean
prefetch?: boolean
trackingId?: string
keepSearchParams?: boolean
}