react-native-gifted-chat
Version:
The most complete chat UI for React Native
19 lines (16 loc) • 515 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>> {}