UNPKG

704 BTypeScriptView Raw
1import * as React from 'react';
2import { StyleProp, ViewStyle, TextStyle, TextProps } from 'react-native';
3import { IMessage } from './Models';
4export interface DayProps<TMessage extends IMessage = IMessage> {
5 currentMessage: TMessage;
6 nextMessage?: TMessage;
7 previousMessage?: TMessage;
8 containerStyle?: StyleProp<ViewStyle>;
9 wrapperStyle?: StyleProp<ViewStyle>;
10 textStyle?: StyleProp<TextStyle>;
11 textProps?: TextProps;
12 dateFormat?: string;
13 inverted?: boolean;
14}
15export declare function Day<TMessage extends IMessage = IMessage>({ dateFormat, currentMessage, previousMessage, containerStyle, wrapperStyle, textStyle, }: DayProps<TMessage>): React.JSX.Element | null;