import { DateType } from '@mezzanine-ui/core/calendar'; import { NativeElementPropsWithoutKeyAndRef } from '../utils/jsx-types'; export interface CalendarQuartersProps extends Omit, 'onClick' | 'children'> { /** * Provide if you have a custom disabling logic. * The method takes the date object as its parameter. */ isQuarterDisabled?: (date: DateType) => boolean; /** * Provide if you have a custom logic for checking if the quarter is in range. * The method takes the date object as its parameter. */ isQuarterInRange?: (date: DateType) => boolean; /** * Click handler for the button of each quarter. * The method takes the date object as its parameter. */ onClick?: (target: DateType) => void; /** * Mouse enter handler for the button of each quarter. * The method takes the date object as its parameter. */ onQuarterHover?: (target: DateType) => void; /** * The reference date for getting the quarters range and computing the date object. */ referenceDate: DateType; /** * The quarter will be marked as active if it matches the same quarter of any value in the array. */ value?: DateType[]; } /** * The react component for `mezzanine` calendar quarters. */ declare function CalendarQuarters(props: CalendarQuartersProps): import("react/jsx-runtime").JSX.Element; export default CalendarQuarters;