1 | import * as React from 'react';
|
2 | import { StyleProp, ViewStyle, TextStyle, TextProps } from 'react-native';
|
3 | import { IMessage } from './Models';
|
4 | export 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 | }
|
15 | export declare function Day<TMessage extends IMessage = IMessage>({ dateFormat, currentMessage, previousMessage, containerStyle, wrapperStyle, textStyle, }: DayProps<TMessage>): React.JSX.Element | null;
|