import { useState } from 'react' import { cn } from '@/lib/utils' export interface MediaThumbnailProps { src: string alt: string isVideo: boolean className?: string loading?: 'lazy' | 'eager' draggable?: boolean onLoad?: () => void onError?: () => void } /** * Shared thumbnail component that renders either an `` or a * `