Files
web/components/TempDesignSystem/Link/link.ts
2024-12-12 11:47:44 +01:00

15 lines
382 B
TypeScript

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