gallery implementation

This commit is contained in:
Cory Dransfeldt 2022-06-07 15:55:04 -07:00
parent 5c1a068e2f
commit c87e0ed7f6
10 changed files with 145 additions and 541 deletions

View file

@ -1,6 +1,5 @@
import NextImage, { ImageProps } from 'next/image'
import { ItemRef } from 'react-photoswipe-gallery'
const Image = ({ ...rest }: ImageProps & { ref?: ItemRef }) => <NextImage {...rest} />
const Image = ({ ...rest }: ImageProps) => <NextImage {...rest} />
export default Image