Files
web/packages/design-system/lib/components/Link/link.ts
Anton Gunnarsson 8518d018f8 Merged in feat/sw-3230-move-link-to-design-system (pull request #2618)
feat(SW-3230): Move Link to design-system

* Move Link to design-system

* Remove comments


Approved-by: Linus Flood
2025-08-12 12:35:20 +00:00

14 lines
360 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
keepSearchParams?: boolean
}