// @flow import { Text } from 'react-native' import type { LeftRightStyle, IMessage } from './types' import type { TextStyleProp, ViewStyleProp, } from 'react-native/Libraries/StyleSheet/StyleSheet' import * as React from 'react' export type MessageTextProps = $ReadOnly<{| position: 'left' | 'right', currentMessage?: TMessage, containerStyle: LeftRightStyle, textStyle?: LeftRightStyle, linkStyle?: LeftRightStyle, textProps?: $Shape>, customTextStyle?: TextStyleProp, parsePatterns?: TextStyleProp => any, |}> export default class MessageText< TMessage: IMessage = IMessage, > extends React.Component> {}