UNPKG

@progress/kendo-react-dateinputs

Version:
28 lines (27 loc) 1.49 kB
import * as React from 'react'; import { CalendarViewEnum } from '../models'; /** * The props which will be received by the custom header title of the [Calendar]({% slug api_dateinputs_calendarprops %}#toc-headertitle) and the [MultiViewCalendar]({% slug api_dateinputs_multiviewcalendarprops %}#toc-headertitle). */ export interface CalendarHeaderTitleProps { className?: string; children?: React.ReactNode; value?: string; id?: string; view?: CalendarViewEnum; style?: React.CSSProperties; onClick?: (event?: React.SyntheticEvent<any>) => void; } /** * The `CalendarHeaderTitle` component is internally used for rendering the title of the current calendar view. Also used as a custom `headerTitle` for the [Calendar]({% slug api_dateinputs_calendarprops %}#toc-headertitle) and the [MultiViewCalendar]({% slug api_dateinputs_multiviewcalendarprops %}#toc-headertitle) components. * * * [Customizing the title for the current Calendar view]({% slug custom_rendering_calendar %}#toc-cells-inside-the-view) * * [Customizing the title for the current MultiViewCalendar view]({% slug custom_rendering_multiviewcalendar %}#toc-cells-inside-the-view) */ export declare class CalendarHeaderTitle extends React.PureComponent<CalendarHeaderTitleProps, {}> { /** * @return * Returns a `<span />` element with the [`value`]({% slug api_dateinputs_calendarheadertitleprops %}#toc-value) of the title as a child. */ render(): JSX.Element; }