fix(SW-368): import type fixes

This commit is contained in:
Erik Tiekstra
2024-09-25 09:41:42 +02:00
parent 4352997322
commit 6a85cfd19c
5 changed files with 14 additions and 19 deletions

View File

@@ -3,10 +3,10 @@ import Link from "next/link"
import { ChevronRightSmallIcon } from "@/components/Icons"
import Caption from "@/components/TempDesignSystem/Text/Caption"
import { LinkChipProps } from "./chip"
import styles from "./chip.module.css"
import type { LinkChipProps } from "./chip"
export default function LinkChip({ url, title }: LinkChipProps) {
return (
<Caption textTransform="bold" color="burgundy" asChild>

View File

@@ -1,8 +1,9 @@
import LinkChip from "./Chip"
import { LinkChipsProps } from "./linkChips"
import styles from "./linkChips.module.css"
import type { LinkChipsProps } from "./linkChips"
export default function LinkChips({ chips }: LinkChipsProps) {
if (!chips.length) {
return null

View File

@@ -1,4 +1,4 @@
import { LinkChipProps } from "./Chip/chip"
import type { LinkChipProps } from "./Chip/chip"
export interface LinkChipsProps {
chips: LinkChipProps[]