index.d.ts 373 Bytes
Newer Older
陈帅's avatar
陈帅 committed
1
import * as React from "react";
jim's avatar
jim committed
2
export interface ITimelineChartProps {
3 4 5 6 7 8
  data: Array<{
    x: string;
    y1: string;
    y2: string;
  }>;
  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 14
}

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