/// import { CalendarProps } from "./RNCalendar"; /** * The Calendar component provides ability to add calendar widgets. It is based on * [NodeGui's QCalendarWidget](https://docs.nodegui.org/docs/api/generated/classes/qcalendarwidget/). * @example * ```typescriptreact * import { * DateFormat, * DayOfWeek, * NativeElement, * QCalendarWidgetSignals, * QDate, * } from "@nodegui/nodegui"; * import { * Calendar, * Renderer, * useEventHandler, * Window, * } from "@nodegui/react-nodegui"; * import React from "react"; * const App = () => { * const calendarClickHandler = useEventHandler( * { * activated: (nativeDate) => { * const date = new QDate(nativeDate as unknown as NativeElement); * console.log(`activated: ${date.toString(DateFormat.SystemLocaleDate)}`); * }, * clicked: (nativeDate) => { * const date = new QDate(nativeDate as unknown as NativeElement); * console.log(`clicked: ${date.toString(DateFormat.SystemLocaleDate)}`); * }, * currentPageChanged: (year, month) => { * console.log(`currentPageChanged: year, month: ${year}, ${month}`); * }, * selectionChanged: () => { * console.log("selectionChanged"); * }, * }, * [] * ); * * return ( * * * * ); * } * Renderer.render(); * ``` */ export declare const Calendar: string | import("react").ComponentType;