15 lines
382 B
TypeScript
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
|
|
}
|