import clsx from 'clsx'; import Image from 'next/image'; import Label from '../label'; export function GridTileImage({ isInteractive = true, active, labelPosition, labels, ...props }: { isInteractive?: boolean; active?: boolean; labelPosition?: 'bottom' | 'center'; labels?: { title: string; amount: string; currencyCode: string; isSmall?: boolean; }; } & React.ComponentProps) { return (
{props.src ? ( {props.title ) : null} {labels ? (
); }