index.d.ts 313 Bytes
Newer Older
陈帅's avatar
陈帅 committed
1
import * as React from "react";
2
export interface BarProps {
陈帅's avatar
陈帅 committed
3
  title: React.ReactNode;
4
  color?: string;
niko's avatar
niko committed
5
  padding?: [number, number, number, number];
6 7 8 9 10 11 12 13 14
  height: number;
  data: Array<{
    x: string;
    y: number;
  }>;
  autoLabel?: boolean;
}

export default class Bar extends React.Component<BarProps, any> {}