5743c4d148
We didn't really need the only existing xplat usage of it (but it *was* causing bugs).
24 lines
515 B
TypeScript
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)
|