import React from 'react' import type { ComponentType, ComponentPropsWithoutRef, FC } from 'react' import Link from 'gatsby-link' import ResponsivePicture from '../ResponsivePicture' type IResponsivePicture = ComponentPropsWithoutRef export interface Item extends Omit { href: string } interface Props { item: Item width: string height: string loading: 'eager' | 'lazy' variant: string link?: ComponentType } const CarouselPage: FC = ({ item, loading, width, height, variant, link: DynamicLink = Link, }) => ( ) export default CarouselPage