diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-03-12 22:02:28 +0000 |
---|---|---|
committer | Samuel Newman <mozzius@protonmail.com> | 2024-03-12 22:02:28 +0000 |
commit | 1512b5cf68e9e92801a894392569b444fd6af1d1 (patch) | |
tree | f756f3a4405127839e6f31ee46945e0b2cfe954f /src/view/com/lightbox/ImageViewing/index.tsx | |
parent | a3c09f9f862a4b4abe43cbb6d1042369fb1e14ba (diff) | |
download | voidsky-1512b5cf68e9e92801a894392569b444fd6af1d1.tar.zst |
run linter
Diffstat (limited to 'src/view/com/lightbox/ImageViewing/index.tsx')
-rw-r--r-- | src/view/com/lightbox/ImageViewing/index.tsx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/view/com/lightbox/ImageViewing/index.tsx b/src/view/com/lightbox/ImageViewing/index.tsx index ff8fdb86d..1432b34ff 100644 --- a/src/view/com/lightbox/ImageViewing/index.tsx +++ b/src/view/com/lightbox/ImageViewing/index.tsx @@ -9,15 +9,14 @@ // https://github.com/jobtoday/react-native-image-viewing import React, {ComponentType, useCallback, useMemo, useState} from 'react' -import {StyleSheet, View, Platform} from 'react-native' - -import ImageItem from './components/ImageItem/ImageItem' -import ImageDefaultHeader from './components/ImageDefaultHeader' - -import {ImageSource} from './@types' +import {Platform, StyleSheet, View} from 'react-native' +import PagerView from 'react-native-pager-view' import Animated, {useAnimatedStyle, withSpring} from 'react-native-reanimated' import {Edge, SafeAreaView} from 'react-native-safe-area-context' -import PagerView from 'react-native-pager-view' + +import {ImageSource} from './@types' +import ImageDefaultHeader from './components/ImageDefaultHeader' +import ImageItem from './components/ImageItem/ImageItem' type Props = { images: ImageSource[] |