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

(nextjs) added eslint and import sorting

This commit is contained in:
Fedor Katurov 2022-01-19 12:30:04 +07:00
parent e5f8d5a551
commit 0838bf7ee6
330 changed files with 1576 additions and 896 deletions
src/components/node/NodeImageSwiperBlock

View file

@ -1,16 +1,18 @@
import React, { FC, useCallback, useState } from 'react';
import { INodeComponentProps } from '~/constants/node';
import { Swiper, SwiperSlide } from 'swiper/react';
import styles from './styles.module.scss';
import SwiperCore, { Keyboard, Navigation, Pagination, SwiperOptions } from 'swiper';
import { useNodeImages } from '~/hooks/node/useNodeImages';
import { Swiper, SwiperSlide } from 'swiper/react';
import SwiperClass from 'swiper/types/swiper-class';
import { ImagePreloader } from '~/components/media/ImagePreloader';
import { normalizeBrightColor } from '~/utils/color';
import { INodeComponentProps } from '~/constants/node';
import { useImageModal } from '~/hooks/navigation/useImageModal';
import { useNodeImages } from '~/hooks/node/useNodeImages';
import { normalizeBrightColor } from '~/utils/color';
import styles from './styles.module.scss';
SwiperCore.use([Navigation, Pagination, Keyboard]);