import PropTypes from 'prop-types'; import React from 'react'; import { ViewStyle, TextStyle } from 'react-native'; interface LoadEarlierProps { isLoadingEarlier?: boolean; label?: string; containerStyle?: ViewStyle; wrapperStyle?: ViewStyle; textStyle?: TextStyle; activityIndicatorStyle?: ViewStyle; 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.Validator> | undefined; wrapperStyle: PropTypes.Validator> | undefined; textStyle: PropTypes.Requireable; activityIndicatorStyle: PropTypes.Validator> | undefined; activityIndicatorColor: PropTypes.Requireable; activityIndicatorSize: PropTypes.Requireable; }; renderLoading(): JSX.Element; render(): JSX.Element; } export {};