UNPKG

react-native-gifted-chat

Version:
12 lines 598 B
import React from 'react'; import { ViewStyle, TextStyle } from 'react-native'; import { LeftRightStyle, IMessage } from './Models'; export interface TimeProps<TMessage extends IMessage> { position?: 'left' | 'right'; currentMessage: TMessage; containerStyle?: LeftRightStyle<ViewStyle>; timeTextStyle?: LeftRightStyle<TextStyle>; timeFormat?: string; } export declare const Time: <TMessage extends IMessage = IMessage>({ position, containerStyle, currentMessage, timeFormat, timeTextStyle, }: TimeProps<TMessage>) => React.JSX.Element | null; //# sourceMappingURL=Time.d.ts.map