UNPKG

react-native-calendars

Version:
23 lines (22 loc) 1.18 kB
import PropTypes from 'prop-types'; import React from 'react'; import { AgendaListProps } from './commons'; /** * @description: AgendaList component that use InfiniteList to improve performance * @note: Should be wrapped with 'CalendarProvider' * @extends: InfiniteList * @example: https://github.com/wix/react-native-calendars/blob/master/example/src/screens/expandableCalendar.js */ declare const InfiniteAgendaList: { ({ theme, sections, scrollToNextEvent, avoidDateUpdates, onScroll, renderSectionHeader, sectionStyle, dayFormatter, dayFormat, useMoment, markToday, infiniteListProps, renderItem, onEndReached, onEndReachedThreshold, ...others }: Omit<AgendaListProps, 'viewOffset'>): React.JSX.Element; displayName: string; propTypes: { dayFormat: PropTypes.Requireable<string>; dayFormatter: PropTypes.Requireable<(...args: any[]) => any>; useMoment: PropTypes.Requireable<boolean>; markToday: PropTypes.Requireable<boolean>; sectionStyle: PropTypes.Requireable<NonNullable<number | object | null | undefined>>; avoidDateUpdates: PropTypes.Requireable<boolean>; }; }; export default InfiniteAgendaList;