UNPKG

@atlaskit/calendar

Version:

An interactive calendar for date selection experiences.

23 lines (22 loc) 718 B
/// <reference types="react" /> 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;