index.d.ts 344 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
  height: number;
  data: Array<{
    x: string;
    y: number;
  }>;
  autoLabel?: boolean;
jim's avatar
jim committed
12
  style?: React.CSSProperties;
13 14 15
}

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