UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

20 lines (19 loc) 708 B
import { BaseComponent } from '../../Utilities'; import { ICalendarStrings } from './Calendar.Props'; export interface ICalendarMonthProps { navigatedDate: Date; strings: ICalendarStrings; onNavigateDate: (date: Date, focusOnNavigatedDay: boolean) => void; today?: Date; highlightCurrentMonth: boolean; } export declare class CalendarMonth extends BaseComponent<ICalendarMonthProps, {}> { private _selectMonthCallbacks; constructor(props: ICalendarMonthProps); render(): JSX.Element; private isCurrentMonth(month, year, today); private _onKeyDown(callback, ev); private _onSelectNextYear(); private _onSelectPrevYear(); private _onSelectMonth(newMonth); }