mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Note that this *trivially* updates project urls by adding the NPM url to the end, even when the urls are almost identical or the DT one is outdated. I'll clean up the urls in a later commit. This PR is unfinished! Please do not merge it yet.
29 lines
994 B
TypeScript
29 lines
994 B
TypeScript
// Type definitions for react-vertical-timeline-component 2.3
|
|
// Project: https://github.com/stephane-monnot/react-vertical-timeline, https://stephane-monnot.github.io/react-vertical-timeline
|
|
// Definitions by: Stéphane Monnot <https://github.com/stephane-monnot>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.8
|
|
|
|
import * as React from "react";
|
|
|
|
export interface VerticalTimelineProps {
|
|
animate?: boolean;
|
|
className?: string;
|
|
layout?: '1-column' | '2-columns';
|
|
}
|
|
|
|
export interface VerticalTimelineElementProps {
|
|
id?: string;
|
|
className?: string;
|
|
date?: string;
|
|
iconOnClick?: () => void;
|
|
iconStyle?: React.CSSProperties;
|
|
icon?: React.ReactNode;
|
|
position?: string;
|
|
style?: React.CSSProperties;
|
|
visibilitySensorProps?: any;
|
|
}
|
|
|
|
export class VerticalTimeline extends React.Component<VerticalTimelineProps> { }
|
|
export class VerticalTimelineElement extends React.Component<VerticalTimelineElementProps> { }
|