24 lines
524 B
TypeScript
24 lines
524 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
|
|
isScrollViewBeingDragged: boolean
|
|
showControls: boolean
|
|
dismissSwipePan: PanGesture | null
|
|
}
|
|
|
|
const ImageItem = (_props: Props) => {
|
|
return <View />
|
|
}
|
|
|
|
export default React.memo(ImageItem)
|