UNPKG

reablocks

Version:
35 lines (33 loc) 780 B
import { CalendarTheme } from '../CalendarTheme'; import { FC } from 'react'; export interface CalendarYearsProps { /** * The start date of the decade to display. */ decadeStart: Date; /** * The end date of the decade to display. */ decadeEnd: Date; /** * The currently selected year. */ value: number; /** * X-axis block animation */ xAnimation?: string | number; /** * Whether to animate the calendar. */ animated?: boolean; /** * A callback function that is called when a year is selected. */ onChange: (year: number) => void; /** * Theme for the CalendarYears. */ theme?: CalendarTheme; } export declare const CalendarYears: FC<CalendarYearsProps>;