@syncfusion/ej2-react-calendars
Version:
A complete package of date or time components with built-in features such as date formatting, inline editing, multiple (range) selection, range restriction, month and year selection, strict mode, and globalization. for React
35 lines (34 loc) • 1.1 kB
TypeScript
import * as React from 'react';
import { Calendar, CalendarModel } from '@syncfusion/ej2-calendars';
import { DefaultHtmlAttributes } from '@syncfusion/ej2-react-base';
/**
* Represents the Essential JS 2 React Calendar Component.
* ```ts
* <CalendarComponent value={date}></CalendarComponent>
* ```
*/
export declare class CalendarComponent extends Calendar {
state: Readonly<{
children?: React.ReactNode | React.ReactNode[];
}> & Readonly<CalendarModel | DefaultHtmlAttributes>;
setState: any;
private getDefaultAttributes;
initRenderCalled: boolean;
private checkInjectedModules;
private statelessTemplateProps;
private templateProps;
private immediateRender;
private isReactMock;
props: Readonly<{
children?: React.ReactNode | React.ReactNode[];
}> & Readonly<CalendarModel | DefaultHtmlAttributes>;
forceUpdate: (callBack?: () => any) => void;
context: Object;
portals: any;
isReactComponent: Object;
refs: {
[key: string]: React.ReactInstance;
};
constructor(props: any);
render(): any;
}