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
This commit is contained in:
13
packages/design-system/lib/components/Link/link.ts
Normal file
13
packages/design-system/lib/components/Link/link.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user