UNPKG

@e-group/material-lab

Version:

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

21 lines (20 loc) 1.05 kB
import React from 'react'; import { Theme, WithStyles } from '@material-ui/core'; import { Marker, Touched, Focused } from './types'; export declare const MARKERS: { [key: string]: Marker; }; declare const styles: (theme: Theme) => Record<"root", import("@material-ui/styles").CSSProperties | import("@material-ui/styles").CreateCSSProperties<{}> | import("@material-ui/styles").PropsFunc<{}, import("@material-ui/styles").CreateCSSProperties<{}>>>; export interface RangeMenuProps extends WithStyles<typeof styles> { startDate?: Date; endDate?: Date; minDate: Date; maxDate: Date; hoverDay?: Date; touched: Touched; focused?: Focused; onDayClick: (date: Date) => void; onDayHover: (date: Date) => void; } declare const _default: React.ComponentType<Pick<React.PropsWithChildren<RangeMenuProps>, "children" | "focused" | "touched" | "minDate" | "maxDate" | "startDate" | "endDate" | "hoverDay" | "onDayClick" | "onDayHover"> & import("@material-ui/core").StyledComponentProps<"root">>; export default _default;