react-chrono
Version:
A Modern Timeline component for React
17 lines • 842 B
TypeScript
import { TimelineVerticalModel } from '../../models/TimelineVerticalModel';
import { FunctionComponent } from 'react';
/**
* Renders the main vertical timeline structure.
* It maps over the provided `items` array and renders a `TimelineVerticalItem`
* for each, handling layout variations (like alternating cards) and distributing
* props and callbacks appropriately.
*
* Implements roving tabindex pattern for keyboard navigation (WCAG 2.1.1)
* Up/Down arrows navigate timeline items, Tab moves to next component
*
* @param {TimelineVerticalModel} props - The properties for the TimelineVertical component.
* @returns {JSX.Element} The rendered TimelineVertical component.
*/
declare const TimelineVertical: FunctionComponent<TimelineVerticalModel>;
export default TimelineVertical;
//# sourceMappingURL=timeline-vertical.d.ts.map