UNPKG

@atlaskit/calendar

Version:

An interactive calendar for date selection experiences.

28 lines (27 loc) • 867 B
/** * @jsxRuntime classic * @jsx jsx */ import React from 'react'; import { type TabIndex } from '../../types'; interface HeaderProps { monthLongTitle: string; year: number; nextMonthLabel?: string; nextYearLabel?: string; nextMonthHeading: string; nextYearHeading: string; previousMonthLabel?: string; previousYearLabel?: string; previousMonthHeading: string; previousYearHeading: string; handleClickNextMonth: (e: React.MouseEvent<HTMLElement>) => void; handleClickNextYear: (e: React.MouseEvent<HTMLElement>) => void; handleClickPrevMonth: (e: React.MouseEvent<HTMLElement>) => void; handleClickPrevYear: (e: React.MouseEvent<HTMLElement>) => void; headerId: string; tabIndex?: TabIndex; testId?: string; } declare const Header: React.NamedExoticComponent<HeaderProps>; export default Header;