UNPKG

@thetechcompany/react-gantt-timeline

Version:

[![npm](https://img.shields.io/npm/v/react-gantt-timeline.svg?style=flat-square)](http://npm.im/react-gantt-timeline) [![MIT License](https://img.shields.io/npm/l/react-list.svg?style=flat-square)](http://opensource.org/licenses/MIT) [![Travis](https://tr

23 lines (22 loc) 765 B
import React from 'react'; import { Link, Config as _Config, Task, TimelineStyle } from './types'; export declare type TimelineProps = { className?: string; resizable?: boolean; nonEditableName?: any; style?: TimelineStyle; mode?: string; itemheight?: number; selectedItem?: any; data?: Task[]; links?: Link[]; config?: _Config; date?: Date; onDateChange?: (date: Date) => void; onUpdateTask?: (task: Task, props: object) => void; onCreateLink?: (link: Link) => void; onSelectItem?: (item: object) => void; onHorizonChange?: (start: Date, end: Date) => void; onNeedData?: any; }; export declare const Timeline: import("styled-components").StyledComponent<React.FC<TimelineProps>, any, {}, never>;