UNPKG

494 BTypeScriptView Raw
1import { MonthViewDay, CalendarEvent, EventAction } from 'calendar-utils';
2/**
3 * The parameters passed to the a11y methods.
4 */
5export interface A11yParams {
6 /**
7 * A day in the month view
8 */
9 day?: MonthViewDay;
10 /**
11 * A date
12 */
13 date?: Date;
14 /**
15 * A calendar event
16 */
17 event?: CalendarEvent;
18 /**
19 * Action button label e.g. 'Edit'
20 */
21 action?: EventAction;
22 /**
23 * Users preferred locale
24 */
25 locale?: string;
26}