import { FC, ImgHTMLAttributes } from 'react';
import { cn } from '@/lib/utils';
import Handlers from './components/Handlers';
interface Props {
show: Show;
href?: string;
onClick?: () => void;
className?: string;
lazy?: boolean;
priority?: boolean;
}
type FetchPriorityProps = ImgHTMLAttributes & { fetchPriority?: 'high' | 'low' | 'auto' };
const Poster: FC = ({ show, href, onClick, className, lazy = true, priority = false }) => {
const fetchPriorityProps: FetchPriorityProps = priority ? { fetchPriority: 'high' } : {};
return (
);
};
export default Poster;