@commercetools-uikit/calendar-utils
Version:
Utilities to work with values for a calendar.
15 lines (14 loc) • 410 B
TypeScript
type TCalendarHeader = {
monthLabel: string;
yearLabel: string;
onPrevMonthClick: () => void;
onTodayClick: () => void;
onNextMonthClick: () => void;
onPrevYearClick: () => void;
onNextYearClick: () => void;
};
declare const CalendarHeader: {
(props: TCalendarHeader): import("@emotion/react/jsx-runtime").JSX.Element;
displayName: string;
};
export default CalendarHeader;