react-chrono-extra
Version:
A Modern Timeline component for React
18 lines (17 loc) • 627 B
TypeScript
import { TimelineProps } from '@models/TimelineModel';
import { RenderResult } from '@testing-library/react';
import { ReactElement } from 'react';
export declare const providerProps: TimelineProps;
export declare const commonProps: {
disableLeft: boolean;
disableRight: boolean;
onFirst: () => void;
onLast: () => void;
onNext: () => void;
onPrevious: () => void;
onReplay: () => void;
onToggleDarkMode: () => void;
slideShowEnabled: boolean;
slideShowRunning: boolean;
};
export declare const customRender: (ui: ReactElement, { providerProps, ...renderOptions }: any) => RenderResult;