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

10 lines
300 B
TypeScript

import type { VariantProps } from "class-variance-authority"
import type { linkVariants } from "./variants"
export interface SectionLinkProps
extends React.PropsWithChildren<React.HTMLAttributes<HTMLSpanElement>>,
VariantProps<typeof linkVariants> {
link?: { href: string; text: string }
}