UNPKG

jwf-year-calendar

Version:

A full react version of Paul-DS' js-year-calendar, https://github.com/year-calendar/js-year-calendar. Built with support from JWF Process Solutions Ltd.

26 lines (25 loc) 833 B
import { CalendarDate, SanitizedDataSource } from '../../lib/types'; export type WeekStartType = 0 | 1 | 2 | 3 | 4 | 5 | 6; declare const Month: (props: { className?: string | undefined; darkMode?: boolean | undefined; dataSource: SanitizedDataSource; disabledWeekDays?: number[] | undefined; endDate: CalendarDate | null; setContextMenu: (args: { visible: boolean; x: number; y: number; day: number; month: number; year: number; }) => unknown; index: number; setEndDate: (x: CalendarDate | null) => unknown; setStartDate: (x: CalendarDate | null) => unknown; startDate: CalendarDate | null; title: string; weekStart?: WeekStartType | undefined; year: number; }) => import("react/jsx-runtime").JSX.Element; export default Month;