office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
24 lines (23 loc) • 795 B
TypeScript
import * as React from 'react';
import { DateRangeType } from 'office-ui-fabric-react/lib/Calendar';
export interface ICalendarInlineExampleState {
selectedDate: Date;
selectedDateRange: Date[];
}
export interface ICalendarInlineExampleProps {
isMonthPickerVisible: boolean;
dateRangeType: DateRangeType;
autoNavigateOnSelection: boolean;
showGoToToday: boolean;
showNavigateButtons?: boolean;
highlightCurrentMonth?: boolean;
isDayPickerVisible?: boolean;
}
export declare class CalendarInlineExample extends React.Component<ICalendarInlineExampleProps, ICalendarInlineExampleState> {
constructor();
render(): JSX.Element;
private _onDismiss();
private _goPrevious();
private _goNext();
private _onSelectDate(date, dateRangeArray);
}