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

15 lines (14 loc) 433 B
import React from "react"; import { Link, Task, TimelineStyle } from "../types"; export interface ITimelineContext { moveTimeline?: (new_x: number) => void; scrollLeft?: number; style?: TimelineStyle; mode?: string; links?: Link[]; data?: Task[]; dayWidth?: number; itemHeight?: number; changeMode?: (mode: string) => void; } export declare const TimelineContext: React.Context<ITimelineContext>;