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