react-native-gifted-chat-flashlist
Version:
React Native Gifted Chat with FlashList optimization for better performance
18 lines (15 loc) • 435 B
Flow
// @flow
import { Component } from 'react'
import type { User } from './types'
import type {
ImageStyleProp,
TextStyleProp,
} from 'react-native/Libraries/StyleSheet/StyleSheet'
export type GiftedAvatarProps = $ReadOnly<{|
user?: User,
avatarStyle?: ImageStyleProp,
textStyle?: TextStyleProp,
onPress: any => void,
onLongPress: any => void,
|}>
export default class GiftedAvatar extends Component<GiftedAvatarProps> {}