UNPKG

baseui

Version:

A React Component library implementing the Base design language

33 lines (32 loc) 991 B
import * as React from 'react'; import DateHelpers from './utils/date-helpers'; import type { MonthProps } from './types'; export default class CalendarMonth<T = Date> extends React.Component<MonthProps<T>> { static defaultProps: { dateLabel: any; density: "high"; excludeDates: any; filterDate: any; highlightDates: any; includeDates: any; locale: any; maxDate: any; minDate: any; month: any; adapter: import("./utils/types").DateIOAdapter<Date>; onDayClick: () => void; onDayFocus: () => void; onDayBlur: () => void; onDayMouseOver: () => void; onDayMouseLeave: () => void; overrides: {}; peekNextMonth: boolean; value: any; }; dateHelpers: DateHelpers<T>; constructor(props: MonthProps<T>); getDateProp: () => T; isWeekInMonth: (a: T) => boolean; renderWeeks: () => any[]; render(): React.JSX.Element; }