import PropTypes from 'prop-types'; import { PureComponent } from 'react'; import { StyleProp, ViewStyle, TextStyle } from 'react-native'; import { IMessage } from './Models'; export interface DayProps { currentMessage?: TMessage; nextMessage?: TMessage; previousMessage?: TMessage; containerStyle?: StyleProp; wrapperStyle?: StyleProp; textStyle?: StyleProp; dateFormat?: string; inverted?: boolean; } export default class Day extends PureComponent> { static contextTypes: { getLocale: PropTypes.Requireable<(...args: any[]) => any>; }; static defaultProps: { currentMessage: { createdAt: null; }; previousMessage: {}; nextMessage: {}; containerStyle: {}; wrapperStyle: {}; textStyle: {}; dateFormat: string; }; static propTypes: { currentMessage: PropTypes.Requireable; previousMessage: PropTypes.Requireable; nextMessage: PropTypes.Requireable; inverted: PropTypes.Requireable; containerStyle: PropTypes.Requireable; wrapperStyle: PropTypes.Requireable; textStyle: PropTypes.Requireable; dateFormat: PropTypes.Requireable; }; render(): JSX.Element | null; }