@qte/react-native-gifted-chat
Version:
Performant fork of react-native-gifted-chat with FlashList support
14 lines (13 loc) • 739 B
TypeScript
import React from 'react';
import { ImageProps, ViewStyle, StyleProp, ImageStyle, ImageURISource } from 'react-native';
import { LightboxProps } from 'react-native-lightbox-v2';
import { IMessage } from './types';
export interface MessageImageProps<TMessage extends IMessage> {
currentMessage: TMessage;
containerStyle?: StyleProp<ViewStyle>;
imageSourceProps?: Partial<ImageURISource>;
imageStyle?: StyleProp<ImageStyle>;
imageProps?: Partial<ImageProps>;
lightboxProps?: LightboxProps;
}
export declare function MessageImage<TMessage extends IMessage = IMessage>({ containerStyle, lightboxProps, imageProps, imageSourceProps, imageStyle, currentMessage, }: MessageImageProps<TMessage>): React.JSX.Element | null;