UNPKG

react-flex-picker

Version:

Helps to build your own calendar by using prepared components and api to control them

30 lines (29 loc) 820 B
import * as React from 'react'; import { Moment } from 'moment'; export declare class Month extends React.PureComponent<IMonthProps> { constructor(props: any); handleClick(date: Moment): (e: any) => void; handleHover(date: Moment): (e: any) => void; handleTitleClick(date: any): () => void; render(): JSX.Element; } export interface IMonthProps { ref: any; month: number; year: number; locale: string; showOutsideDays: boolean; startDate?: Moment; endDate?: Moment; onClick: (date: Moment) => void; onTitleClick: (date: Moment) => void; minDate?: Moment; maxDate?: Moment; hoveredDate?: Moment | Moment[]; onHover: (date: Moment) => void; minDaysCount?: number; maxDaysCount?: number; styles?: { [key: string]: string; }; }