office-ui-fabric-react
Version: 
Reusable React components for building experiences for Office 365.
33 lines (32 loc) • 1.19 kB
TypeScript
/// <reference types="react" />
import * as React from 'react';
import { DayOfWeek } from 'office-ui-fabric-react/lib/Calendar';
import { 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;
    isDayPickerVisible?: boolean;
    showMonthPickerAsOverlay?: boolean;
    showWeekNumbers?: boolean;
    minDate?: Date;
    maxDate?: 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(date, dateRangeArray);
}