gallery implementation
This commit is contained in:
parent
5c1a068e2f
commit
c87e0ed7f6
10 changed files with 145 additions and 541 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue