@progress/kendo-react-dateinputs
Version:
KendoReact Date Inputs package
25 lines (24 loc) • 1.32 kB
TypeScript
import * as React from 'react';
/**
* The props which will be received by the custom week cell of the [Calendar]({% slug api_dateinputs_calendarprops %}#toc-weekcell) and the [MultiViewCalendar]({% slug api_dateinputs_multiviewcalendarprops %}#toc-weekcell).
*/
export interface CalendarWeekCellProps {
id?: string;
value?: number | null;
style?: React.CSSProperties;
children?: React.ReactNode;
className?: string;
}
/**
* The `CalendarWeekCell` component is internally used for rendering the week cells inside the `month` view of the Calendar. Also used as a [custom week cell for the Calendar]({% slug api_dateinputs_calendarprops %}#toc-weekcell) and the [MultiViewCalendar]({% slug api_dateinputs_multiviewcalendarprops %}#toc-weekcell) components.
*
* * [Customizing week-column cells in the Calendar]({% slug custom_rendering_calendar %}#toc-cells-inside-the-week-column)
* * [Customizing week-column cells in the MultiViewCalendar]({% slug custom_rendering_multiviewcalendar %}#toc-cells-inside-the-week-column)
*/
export declare class CalendarWeekCell extends React.Component<CalendarWeekCellProps> {
/**
* @return
* Returns a `<td />` element with the [`value`]({% slug api_dateinputs_calendarweekcellprops %}#toc-value) as a child.
*/
render(): JSX.Element;
}