office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
24 lines (23 loc) • 801 B
TypeScript
import * as React from 'react';
export interface ICalendarButtonExampleState {
showCalendar: boolean;
selectedDate: Date | null;
}
export interface ICalendarButtonExampleProps {
isDayPickerVisible?: boolean;
isMonthPickerVisible?: boolean;
highlightCurrentMonth?: boolean;
highlightSelectedMonth?: boolean;
buttonString?: string;
showMonthPickerAsOverlay?: boolean;
showGoToToday?: boolean;
}
export declare class CalendarButtonExample extends React.Component<ICalendarButtonExampleProps, ICalendarButtonExampleState> {
static defaultProps: ICalendarButtonExampleProps;
private _calendarButtonElement;
constructor(props: ICalendarButtonExampleProps);
render(): JSX.Element;
private _onClick;
private _onDismiss;
private _onSelectDate;
}