react-native-lunar-calendars
Version:
React Native Calendar Components with Lunar Calendar Support - Fork of react-native-calendars with Vietnamese lunar calendar functionality
47 lines (46 loc) • 1.29 kB
TypeScript
export default CalendarList;
declare class CalendarList extends React.Component<any, any, any> {
static propTypes: any;
constructor(props: any);
pastScrollRange: any;
futureScrollRange: any;
style: any;
calendarWidth: any;
calendarHeight: any;
state: {
rows: any[];
texts: any[];
openDate: any;
};
onViewableItemsChangedBound: ({ viewableItems }: {
viewableItems: any;
}) => void;
renderCalendarBound: ({ item }: {
item: any;
}) => React.JSX.Element;
getItemLayout(data: any, index: any): {
length: any;
offset: number;
index: any;
};
onLayout(event: any): void;
scrollToDay(d: any, offset: any, animated: any): void;
scrollToMonth(m: any): void;
componentWillReceiveProps(props: any): void;
onViewableItemsChanged({ viewableItems }: {
viewableItems: any;
}): void;
renderCalendar({ item }: {
item: any;
}): React.JSX.Element;
getMonthIndex(month: any): any;
render(): React.JSX.Element;
listView: FlatList<any> | null | undefined;
}
declare namespace CalendarList {
namespace defaultProps {
let calendarHeight: number;
}
}
import React from 'react';
import { FlatList } from 'react-native';