Files
bsky-social-app/src/view/com/lightbox/ImageViewing/components/ImageItem/ImageItem.tsx
T
Dan Abramov 5743c4d148 Make iOS-unreliable state Android-only
We didn't really need the only existing xplat usage of it (but it *was* causing bugs).
2024-11-03 02:09:34 +00:00

24 lines
515 B
TypeScript

// default implementation fallback for web
import React from 'react'
import {View} from 'react-native'
import {PanGesture} from 'react-native-gesture-handler'
import {ImageSource} from '../../@types'
type Props = {
imageSrc: ImageSource
onRequestClose: () => void
onTap: () => void
onZoom: (scaled: boolean) => void
isPagingAndroid: boolean
showControls: boolean
dismissSwipePan: PanGesture | null
}
const ImageItem = (_props: Props) => {
return <View />
}
export default React.memo(ImageItem)