import { Category } from "./category"; export type WithCardProps = T & { link: string; title: string; }; export type BaseCardPlaceProps = { title: string; link: string; address?: string; distance?: boolean; mapLink?: string; variant?: "default" | "small"; category?: Category; }; export type DefaultCardPlaceProps = BaseCardPlaceProps & { variant: "default"; category?: Category; }; export type SmallCardPlaceProps = BaseCardPlaceProps & { variant: "small"; category: Category; };