import PropTypes from 'prop-types'; import { Component } from 'react'; import { ViewStyle, TextStyle } from 'react-native'; import { LeftRightStyle, IMessage } from './Models'; export interface TimeProps { position: 'left' | 'right'; currentMessage?: TMessage; containerStyle?: LeftRightStyle; timeTextStyle?: LeftRightStyle; timeFormat?: string; } export default class Time extends Component> { static contextTypes: { getLocale: PropTypes.Requireable<(...args: any[]) => any>; }; static defaultProps: { position: string; currentMessage: { createdAt: null; }; containerStyle: {}; timeFormat: string; timeTextStyle: {}; }; static propTypes: { position: PropTypes.Requireable; currentMessage: PropTypes.Requireable; containerStyle: PropTypes.Requireable; right: PropTypes.Requireable; }>>; timeFormat: PropTypes.Requireable; timeTextStyle: PropTypes.Requireable; right: PropTypes.Requireable; }>>; }; render(): JSX.Element | null; }