UNPKG

@atlaskit/calendar

Version:

An interactive calendar for date selection experiences.

22 lines (21 loc) • 686 B
import type { TabIndex } from '../../types'; import type { DateObj } from '../types'; interface DateProps { children: number; isDisabled?: boolean; isFocused?: boolean; isToday?: boolean; dayLong: string; month: number; monthLong: string; onClick?: ({ day, month, year }: DateObj) => void; isPreviouslySelected?: boolean; isSelected?: boolean; isSibling?: boolean; year: number; shouldSetFocus: boolean; tabIndex: TabIndex; testId?: string; } declare const Date: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<DateProps & import('react').RefAttributes<HTMLButtonElement>>>; export default Date;