@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
42 lines (41 loc) • 1.41 kB
TypeScript
import * as React from 'react';
import { DateRangePicker, DateRangePickerModel } from '@syncfusion/ej2-calendars';
import { DefaultHtmlAttributes } from '@syncfusion/ej2-react-base';
export interface DateRangePickerTypecast {
start?: string | Function | any;
end?: string | Function | any;
}
/**
* Represents the Essential JS 2 React DateRangePicker Component.
* ```ts
* <DateRangePickerComponent startDate={date} endDate={date}></DateRangePickerComponent>
* ```
*/
export declare class DateRangePickerComponent extends DateRangePicker {
state: Readonly<{
children?: React.ReactNode | React.ReactNode[];
}> & Readonly<DateRangePickerModel | DefaultHtmlAttributes | DateRangePickerTypecast>;
setState: any;
private getDefaultAttributes;
initRenderCalled: boolean;
private checkInjectedModules;
directivekeys: {
[key: string]: Object;
};
private statelessTemplateProps;
private templateProps;
private immediateRender;
private isReactMock;
props: Readonly<{
children?: React.ReactNode | React.ReactNode[];
}> & Readonly<DateRangePickerModel | DefaultHtmlAttributes | DateRangePickerTypecast>;
forceUpdate: (callBack?: () => any) => void;
context: Object;
portals: any;
isReactComponent: Object;
refs: {
[key: string]: React.ReactInstance;
};
constructor(props: any);
render(): any;
}