UNPKG

@e-group/material-lab

Version:

EGroup Team Lab - Incubator for EGroup Team experimental React components.

23 lines (22 loc) 1.34 kB
import React from 'react'; import { WithStyles } from '@material-ui/core'; import { NavigationAction, Touched, Focused } from './types'; declare const styles: () => Record<"root" | "weekDaysContainer" | "monthContainer" | "weekContainer", import("@material-ui/styles").CSSProperties | import("@material-ui/styles").CreateCSSProperties<{}> | import("@material-ui/styles").PropsFunc<{}, import("@material-ui/styles").CreateCSSProperties<{}>>>; export interface MonthProps extends WithStyles<typeof styles> { startDate?: Date; endDate?: Date; minDate: Date; maxDate: Date; hoverDay?: Date; value: Date; touched: Touched; focused?: Focused; marker?: symbol; navState: [boolean, boolean]; setValue: (date: Date) => void; onDayClick?: (date: Date) => void; onDayHover?: (date: Date) => void; onMonthNavigate?: (action: NavigationAction, marker?: symbol) => void; } declare const _default: React.ComponentType<Pick<React.PropsWithChildren<MonthProps>, "marker" | "children" | "value" | "setValue" | "focused" | "touched" | "minDate" | "maxDate" | "startDate" | "endDate" | "hoverDay" | "navState" | "onDayClick" | "onDayHover" | "onMonthNavigate"> & import("@material-ui/core").StyledComponentProps<"root" | "weekDaysContainer" | "monthContainer" | "weekContainer">>; export default _default;