@qte/react-native-gifted-chat
Version:
Performant fork of react-native-gifted-chat with FlashList support
12 lines (11 loc) • 567 B
TypeScript
import * as React from 'react';
import { ViewStyle, TextStyle } from 'react-native';
import { LeftRightStyle, IMessage } from './types';
export interface TimeProps<TMessage extends IMessage> {
position?: 'left' | 'right';
currentMessage: TMessage;
containerStyle?: LeftRightStyle<ViewStyle>;
timeTextStyle?: LeftRightStyle<TextStyle>;
timeFormat?: string;
}
export declare function Time<TMessage extends IMessage = IMessage>({ position, containerStyle, currentMessage, timeFormat, timeTextStyle, }: TimeProps<TMessage>): React.JSX.Element | null;