Hi,
I'm trying to find a lightbox that uses a <canvas> instead <img>, is this something that could be switched over relatively easily?
export type ImagesListItem = Omit<
React.HTMLProps<HTMLImageElement>,
'draggable' | 'onClick' | 'onDragStart' | 'ref'
> & { alt: string; loading?: 'auto' | 'eager' | 'lazy'; src: string };
The purpose is to eliminate the image's src in View Source and Chrome DevTools, I'm guessing the HTML5 element will have richer features and continued improvements.