@coreui/react-pro
Version:
UI Components Library for React.js
22 lines (21 loc) • 801 B
TypeScript
import React, { ReactNode } from 'react';
import type { ViewTypes } from './types';
export interface CCalendarNavigationProps {
ariaNavNextMonthLabel?: string;
ariaNavNextYearLabel?: string;
ariaNavPrevMonthLabel?: string;
ariaNavPrevYearLabel?: string;
calendarDate?: Date;
locale?: string;
navigation?: boolean;
navNextDoubleIcon?: ReactNode;
navNextIcon?: ReactNode;
navPrevDoubleIcon?: ReactNode;
navPrevIcon?: ReactNode;
navYearFirst?: boolean | undefined;
onMonthClick: () => void;
onNavigationClick: (direction: string, double?: boolean) => void;
onYearClick: () => void;
view: ViewTypes;
}
export declare const CCalendarNavigation: React.ForwardRefExoticComponent<CCalendarNavigationProps & React.RefAttributes<HTMLDivElement>>;