1 | import * as React from 'react';
|
2 | import { Theme } from '@material-ui/core';
|
3 | import { WithStyles } from '@material-ui/core/styles/withStyles';
|
4 | import { WithUtilsProps } from '../../_shared/WithUtils';
|
5 | import { MaterialUiPickersDate } from '../../typings/date';
|
6 | import { SlideDirection } from './SlideTransition';
|
7 | export interface CalendarHeaderProps extends WithUtilsProps, WithStyles<typeof styles, true> {
|
8 | currentMonth: object;
|
9 | onMonthChange: (date: MaterialUiPickersDate, direction: SlideDirection) => void;
|
10 | leftArrowIcon?: React.ReactNode;
|
11 | rightArrowIcon?: React.ReactNode;
|
12 | disablePrevMonth?: boolean;
|
13 | disableNextMonth?: boolean;
|
14 | slideDirection: SlideDirection;
|
15 | }
|
16 | export declare const CalendarHeader: React.SFC<CalendarHeaderProps>;
|
17 | export declare const styles: (theme: Theme) => Record<"transitionContainer" | "switchHeader" | "iconButton" | "daysHeader" | "dayLabel", import("@material-ui/core/styles/withStyles").CSSProperties>;
|
18 | declare const _default: React.FunctionComponent<Pick<Pick<React.PropsWithChildren<CalendarHeaderProps>, "utils" | "children" | "slideDirection" | "currentMonth" | "onMonthChange" | "leftArrowIcon" | "rightArrowIcon" | "disablePrevMonth" | "disableNextMonth"> & import("@material-ui/core").StyledComponentProps<"transitionContainer" | "switchHeader" | "iconButton" | "daysHeader" | "dayLabel">, "children" | "classes" | "innerRef" | "slideDirection" | "currentMonth" | "onMonthChange" | "leftArrowIcon" | "rightArrowIcon" | "disablePrevMonth" | "disableNextMonth">>;
|
19 | export default _default;
|