UNPKG

@progress/kendo-react-dateinputs

Version:
28 lines (27 loc) 1.26 kB
import * as React from 'react'; import { CalendarViewEnum } from '../models'; /** * The props which will be received by the custom navigation item of the [Calendar]({% slug api_dateinputs_calendarprops %}#toc-navigationitem). */ export interface CalendarNavigationItemProps { text?: string; value: Date; id?: string; style?: React.CSSProperties; view?: CalendarViewEnum; onClick?: (value: Date, event?: React.SyntheticEvent<any>) => void; children?: React.ReactNode; className?: string; isRangeStart?: boolean; } /** * The `CalendarNavigationItem` component is internally used for rendering the items in the side navigation of the Calendar. Also used as a custom navigation item for the [Calendar]({% slug api_dateinputs_calendarprops %}#toc-navigationitem) ([see example]({% slug custom_rendering_calendar %}#toc-items-in-the-side-navigation)). */ export declare class CalendarNavigationItem extends React.Component<CalendarNavigationItemProps> { /** * @return * Returns a `<li />` element with a `<span />` inside. The text inside represents the [`value`]({% slug api_dateinputs_calendarnavigationitemprops %}#toc-value) of the `navigationItem`. */ render(): JSX.Element; private handleClick; }