office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
33 lines (32 loc) • 1.11 kB
TypeScript
import * as React from 'react';
import { DayOfWeek, DateRangeType } from 'office-ui-fabric-react/lib/Calendar';
export interface ICalendarInlineExampleState {
selectedDate?: Date | null;
selectedDateRange?: Date[] | null;
}
export interface ICalendarInlineExampleProps {
isMonthPickerVisible?: boolean;
dateRangeType: DateRangeType;
autoNavigateOnSelection: boolean;
showGoToToday: boolean;
showNavigateButtons?: boolean;
highlightCurrentMonth?: boolean;
highlightSelectedMonth?: boolean;
isDayPickerVisible?: boolean;
showMonthPickerAsOverlay?: boolean;
showWeekNumbers?: boolean;
minDate?: Date;
maxDate?: Date;
restrictedDates?: Date[];
showSixWeeksByDefault?: boolean;
workWeekDays?: DayOfWeek[];
firstDayOfWeek?: DayOfWeek;
}
export declare class CalendarInlineExample extends React.Component<ICalendarInlineExampleProps, ICalendarInlineExampleState> {
constructor(props: ICalendarInlineExampleProps);
render(): JSX.Element;
private _onDismiss;
private _goPrevious;
private _goNext;
private _onSelectDate;
}