1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

Added zoom to swiper

This commit is contained in:
muerwre 2021-03-06 15:49:19 +07:00 committed by GitHub
parent 5ba36976eb
commit 56ff059f78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,6 +74,7 @@ const NodeImageSwiperBlock: FC<IProps> = ({ node }) => {
resizeObserver resizeObserver
watchOverflow watchOverflow
onInit={resetSwiper} onInit={resetSwiper}
zoom
> >
{images.map(file => ( {images.map(file => (
<SwiperSlide className={styles.slide} key={file.id}> <SwiperSlide className={styles.slide} key={file.id}>