import PropTypes from 'prop-types'; import { Component } from 'react'; import { ImageProps, ViewStyle, StyleProp, ImageStyle } from 'react-native'; import { IMessage } from './Models'; export interface MessageImageProps { currentMessage?: TMessage; containerStyle?: StyleProp; imageStyle?: StyleProp; imageProps?: Partial; lightboxProps?: object; } export default class MessageImage extends Component> { static defaultProps: { currentMessage: { image: null; }; containerStyle: {}; imageStyle: {}; imageProps: {}; lightboxProps: {}; }; static propTypes: { currentMessage: PropTypes.Requireable; containerStyle: PropTypes.Requireable; imageStyle: PropTypes.Requireable; imageProps: PropTypes.Requireable; lightboxProps: PropTypes.Requireable; }; render(): JSX.Element | null; }