DefinitelyTyped/types/react-vertical-timeline-component/index.d.ts
Nathan Shively-Sanders f0ce987bc1 Update project urls to match NPM url
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.
2019-02-11 17:10:55 -08:00

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> { }