index.d.ts 369 Bytes
Newer Older
jim's avatar
jim committed
1
import * as React from 'react';
jim's avatar
jim committed
2
export interface ITimelineChartProps {
3
  data: Array<{
4 5 6
    x: number;
    y1: number;
    y2?: number;
7
  }>;
8
  titleMap: { y1: string; y2?: string };
niko's avatar
niko committed
9
  padding?: [number, number, number, number];
10
  height?: number;
jim's avatar
jim committed
11
  style?: React.CSSProperties;
12 13
}

jim's avatar
jim committed
14
export default class TimelineChart extends React.Component<ITimelineChartProps, any> {}