22 lines
486 B
TypeScript
22 lines
486 B
TypeScript
// default implementation fallback for web
|
|
|
|
import React from 'react'
|
|
import {View} from 'react-native'
|
|
import {ImageSource} from '../../@types'
|
|
|
|
type Props = {
|
|
imageSrc: ImageSource
|
|
onRequestClose: () => void
|
|
onZoom: (scaled: boolean) => void
|
|
onLongPress: (image: ImageSource) => void
|
|
delayLongPress: number
|
|
swipeToCloseEnabled?: boolean
|
|
doubleTapToZoomEnabled?: boolean
|
|
}
|
|
|
|
const ImageItem = (_props: Props) => {
|
|
return <View />
|
|
}
|
|
|
|
export default React.memo(ImageItem)
|