index.d.ts 371 Bytes
Newer Older
陈帅's avatar
陈帅 committed
1
import * as React from "react";
2 3 4 5 6 7 8
export interface TimelineChartProps {
  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 15 16 17
}

export default class TimelineChart extends React.Component<
  TimelineChartProps,
  any
> {}