import { RemoveButton } from "#/components/shared/buttons/remove-button"; import { Thumbnail } from "./thumbnail"; interface ImagePreviewProps { src: string; onRemove?: () => void; size?: "small" | "large"; } export function ImagePreview({ src, onRemove, size = "small", }: ImagePreviewProps) { return (
{onRemove && }
); }