react-chrono
Version:
A Modern Timeline component for React
17 lines • 590 B
TypeScript
interface UseTimelineKeyboardNavigationProps {
mode: string;
hasFocus: boolean;
flipLayout?: boolean;
onNext: () => void;
onPrevious: () => void;
onFirst: () => void;
onLast: () => void;
}
/**
* Hook for handling timeline keyboard navigation
*/
export declare const useTimelineKeyboardNavigation: ({ mode, hasFocus, flipLayout, onNext, onPrevious, onFirst, onLast, }: UseTimelineKeyboardNavigationProps) => {
handleKeySelection: (event: React.KeyboardEvent<HTMLDivElement>) => void;
};
export {};
//# sourceMappingURL=useTimelineKeyboardNavigation.d.ts.map