react-trip-date
Version:
Accessible, fully customizable date and range picker for React applications.
12 lines • 460 B
TypeScript
import { Dayjs } from "dayjs";
import { KeyboardEvent } from "react";
type Options = {
day: Dayjs;
source: Dayjs;
setSource: (next: Dayjs) => void;
setFocusedDate: (date: string) => void;
requestFocus?: (date: string) => void;
};
export declare function handleDayKeyDown(event: KeyboardEvent<HTMLElement>, { day, source, setSource, setFocusedDate, requestFocus }: Options): boolean;
export {};
//# sourceMappingURL=handleDayKeyDown.d.ts.map