index.d.ts 341 Bytes
Newer Older
陈小聪's avatar
陈小聪 committed
1
import React from 'react';
jim's avatar
jim committed
2
export interface IBarProps {
陈帅'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
}

jim's avatar
jim committed
15
export default class Bar extends React.Component<IBarProps, any> {}