3.3.6 • Published 6 months ago

@types/react-vertical-timeline-component v3.3.6

Weekly downloads
2,372
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/react-vertical-timeline-component

Summary

This package contains type definitions for react-vertical-timeline-component (https://github.com/stephane-monnot/react-vertical-timeline).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-vertical-timeline-component.

index.d.ts

// Type definitions for react-vertical-timeline-component 3.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>
//                 Lukas Elmer <https://github.com/lukaselmer>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8

import * as React from "react";

export interface VerticalTimelineProps {
    animate?: boolean | undefined;
    children?: React.ReactNode;
    className?: string | undefined;
    layout?: '1-column' | '1-column-left' | '1-column-right' | '2-columns' | undefined;
    lineColor?: string | undefined;
}

export interface VerticalTimelineElementProps {
    children?: React.ReactNode;
    id?: string | undefined;
    className?: string | undefined;
    date?: string | undefined;
    dateClassName?: string | undefined;
    iconClassName?: string | undefined;
    iconOnClick?: (() => void) | undefined;
    iconStyle?: React.CSSProperties | undefined;
    icon?: React.ReactNode | undefined;
    intersectionObserverProps?: any;
    onTimelineElementClick?: (() => void) | undefined;
    position?: string | undefined;
    style?: React.CSSProperties | undefined;
    textClassName?: string | undefined;
    contentStyle?: React.CSSProperties | undefined;
    contentArrowStyle?: React.CSSProperties | undefined;
    visible?: boolean | undefined;
}

export class VerticalTimeline extends React.Component<VerticalTimelineProps> { }
export class VerticalTimelineElement extends React.Component<VerticalTimelineElementProps> { }

Additional Details

  • Last updated: Tue, 19 Apr 2022 16:31:33 GMT
  • Dependencies: @types/react
  • Global values: none

Credits

These definitions were written by Stéphane Monnot, and Lukas Elmer.

3.3.5

7 months ago

3.3.4

8 months ago

3.3.6

6 months ago

3.3.3

2 years ago

3.3.2

2 years ago

3.3.1

3 years ago

3.3.0

3 years ago

3.0.1

3 years ago

3.0.0

4 years ago

2.6.0

4 years ago

2.5.0

5 years ago

2.3.1

5 years ago

2.3.0

6 years ago

2.2.0

6 years ago

2.1.0

6 years ago