@types/react-vertical-timeline-component
TypeScript icon, indicating that this package has built-in type declarations

3.3.6 • Public • Published

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

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, 07 Nov 2023 09:09:39 GMT
  • Dependencies: @types/react

Credits

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

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-vertical-timeline-component

Weekly Downloads

13,384

Version

3.3.6

License

MIT

Unpacked Size

5.51 kB

Total Files

5

Last publish

Collaborators

  • types