index.d.ts 340 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 11 12 13 14 15 16
  height?: number;
}

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