fix(SW-368): import type fixes
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { LinkChipProps } from "./Chip/chip"
|
||||
import type { LinkChipProps } from "./Chip/chip"
|
||||
|
||||
export interface LinkChipsProps {
|
||||
chips: LinkChipProps[]
|
||||
|
||||
Reference in New Issue
Block a user