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.
21 lines (20 loc) • 779 B
TypeScript
import { WeekStartType } from '../month/Month';
import { CalendarDate, ContextMenuItem, DataSource } from '../../lib/types';
declare const MyCalendar: (props: {
className?: string | undefined;
darkMode?: boolean | undefined;
weekStart?: WeekStartType | undefined;
year?: number | undefined;
dataSource?: DataSource | undefined;
contextMenuItems?: ContextMenuItem[] | undefined;
disabledWeekDays?: number[] | undefined;
enableRangeSelection?: boolean | undefined;
onRangeSelected?: ((e: {
startDate: CalendarDate;
endDate: CalendarDate;
}) => void) | undefined;
onYearChanged?: ((y: {
currentYear: number;
}) => unknown) | undefined;
}) => import("react/jsx-runtime").JSX.Element;
export default MyCalendar;