chore: add consistent type imports

This commit is contained in:
Christian Andolf
2024-12-09 14:36:56 +01:00
parent 9867a56cc8
commit e08e960209
172 changed files with 587 additions and 333 deletions

View File

@@ -1,11 +1,12 @@
import ArrowRight from "@/components/Icons/ArrowRight"
import Link from "@/components/TempDesignSystem/Link"
import { SectionLinkProps } from "./link"
import { linkVariants } from "./variants"
import styles from "./link.module.css"
import type { SectionLinkProps } from "./link"
export default function SectionLink({ link, variant }: SectionLinkProps) {
if (!link) {
return null

View File

@@ -1,7 +1,7 @@
import { linkVariants } from "./variants"
import type { VariantProps } from "class-variance-authority"
import type { linkVariants } from "./variants"
export interface SectionLinkProps
extends React.PropsWithChildren<React.HTMLAttributes<HTMLSpanElement>>,
VariantProps<typeof linkVariants> {