import PropTypes from 'prop-types'; import React from 'react'; import { StyleProp, ViewStyle, TextStyle } from 'react-native'; export interface LoadEarlierProps { isLoadingEarlier?: boolean; label?: string; containerStyle?: StyleProp; wrapperStyle?: StyleProp; textStyle?: StyleProp; activityIndicatorStyle?: StyleProp; activityIndicatorColor?: string; activityIndicatorSize?: number | 'small' | 'large'; onLoadEarlier?(): void; } export default class LoadEarlier extends React.Component { static defaultProps: { onLoadEarlier: () => void; isLoadingEarlier: boolean; label: string; containerStyle: {}; wrapperStyle: {}; textStyle: {}; activityIndicatorStyle: {}; activityIndicatorColor: string; activityIndicatorSize: string; }; static propTypes: { onLoadEarlier: PropTypes.Requireable<(...args: any[]) => any>; isLoadingEarlier: PropTypes.Requireable; label: PropTypes.Requireable; containerStyle: PropTypes.Requireable; wrapperStyle: PropTypes.Requireable; textStyle: PropTypes.Requireable; activityIndicatorStyle: PropTypes.Requireable; activityIndicatorColor: PropTypes.Requireable; activityIndicatorSize: PropTypes.Requireable; }; renderLoading(): JSX.Element; render(): JSX.Element; }