react-native-gifted-chat
Version:
The most complete chat UI for React Native
21 lines (18 loc) • 571 B
Flow
// @flow
import { Component } from 'react'
import type {
TextStyleProp,
ViewStyleProp,
} from 'react-native/Libraries/StyleSheet/StyleSheet'
export type LoadEarlierProps = $ReadOnly<{|
isLoadingEarlier?: boolean,
label?: string,
containerStyle?: ViewStyleProp,
wrapperStyle?: ViewStyleProp,
textStyle?: TextStyleProp,
activityIndicatorStyle?: ViewStyleProp,
activityIndicatorColor?: string,
activityIndicatorSize?: number | 'small' | 'large',
onLoadEarlier?: () => void,
|}>
export default class LoadEarlier extends Component<LoadEarlierProps> {}