react-native-gifted-chat-flashlist
Version:
React Native Gifted Chat with FlashList optimization for better performance
19 lines (16 loc) • 514 B
Flow
// @flow
import { Component } from 'react'
import type { IMessage } from './types'
import type {
TextStyleProp,
ViewStyleProp,
} from 'react-native/Libraries/StyleSheet/StyleSheet'
export type SystemMessageProps<TMessage: IMessage = IMessage> = $ReadOnly<{|
currentMessage: TMessage,
containerStyle?: ViewStyleProp,
wrapperStyle?: ViewStyleProp,
textStyle?: TextStyleProp,
|}>
export default class SystemMessages<
TMessage: IMessage = IMessage,
> extends Component<SystemMessageProps<TMessage>> {}