UNPKG

react-native-gifted-chat-flashlist

Version:

React Native Gifted Chat with FlashList optimization for better performance

24 lines (21 loc) 610 B
// @flow import { PureComponent } from 'react' import type { IMessage } from './types' import type { ViewStyleProp, ImageStyleProp, TextStyleProp, } from 'react-native/Libraries/StyleSheet/StyleSheet' export type DayProps<TMessage: IMessage = IMessage> = $ReadOnly<{| currentMessage: TMessage, nextMessage?: TMessage, previousMessage?: TMessage, containerStyle?: ViewStyleProp, wrapperStyle?: ViewStyleProp, textStyle?: TextStyleProp, dateFormat?: string, inverted?: boolean, |}> export default class Day<TMessage: IMessage = IMessage> extends PureComponent< DayProps<TMessage>, > {}