Something went wrong. Try again.
Mirror — see github.com/blacksky-algorithms/blacksky.community
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940// default implementation fallback for web
import {memo} from 'react'import {View} from 'react-native'import {type PanGesture} from 'react-native-gesture-handler'import {type SharedValue} from 'react-native-reanimated'
import {type Dimensions} from '#/lib/media/types'import { type Dimensions as ImageDimensions, type ImageSource, type LightboxTransforms,} from '../../types'
type Props = { imageSrc: ImageSource onRequestClose: () => void onTap: () => void onZoom: (scaled: boolean) => void onLoad: (dims: Dimensions) => void isScrollViewBeingDragged: boolean showControls: boolean measureSafeArea: () => { x: number y: number width: number height: number } imageAspect: number | undefined imageDimensions: ImageDimensions | undefined dismissSwipePan: PanGesture transforms: Readonly<SharedValue<LightboxTransforms>>}
const ImageItem = (_props: Props) => { return <View />}
export default memo(ImageItem)