// AUTO-GENERATED by scripts/generate-wrappers.mjs — do not edit by hand.
// Source: packages/core/manifest.json (component "calendar").
import type { ElementType, ReactNode } from 'react';
import { Calendar as CalendarController, type CalendarOptions } from '@42/core/calendar';
import { C42 } from '../C42';
const DEFAULT_HTML: string | null = "
\n \n \n \n \n \n \n \n
\n ";
export interface CalendarProps extends Partial {
/** Element/tag rendered as the controller root. Defaults to `"div"`. */
as?: ElementType;
className?: string;
children?: ReactNode;
/** Fired on `calendar:select` — detail: `{ date, dateKey }` */
onSelect?: (detail: unknown, event: CustomEvent) => void;
/** Fired on `calendar:viewchange` — detail: `{ view }` */
onViewchange?: (detail: unknown, event: CustomEvent) => void;
/** Fired on `calendar:navigate` — detail: `{ date, view }` */
onNavigate?: (detail: unknown, event: CustomEvent) => void;
/** Fired on `calendar:eventclick` — detail: `{ id, event }` */
onEventclick?: (detail: unknown, event: CustomEvent) => void;
/** Fired on `calendar:eventmove` — detail: `{ id, event, start, end }` */
onEventmove?: (detail: unknown, event: CustomEvent) => void;
/** Extra props are forwarded to the rendered `