react-flex-picker
Version:
Helps to build your own calendar by using prepared components and api to control them
15 lines (14 loc) • 712 B
TypeScript
import * as moment from 'moment';
export declare function compose(...fns: any[]): any;
export declare function pipe(...fns: any[]): any;
export declare function initRange(props: any, state: any): (clickedDay: moment.Moment, currentFocus: any) => {
clickedDay: moment.Moment;
currentFocus: any;
nextFocus: string;
startDate: any;
endDate: moment.Moment;
};
export declare function setWeekBounds(props: any, state: any): (range: any) => any;
export declare function reverseDates(props: any, state: any): (range: any) => any;
export declare function setMonthBounds(props: any, state: any): (range: any) => any;
export declare function validateRange(props: any, state: any): (range: any) => any;