index.d.ts 316 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
import React from "react";
export interface BarProps {
  title: string | React.ReactNode;
  color?: string;
  margin?: [number, number, number, number];
  height: number;
  data: Array<{
    x: string;
    y: number;
  }>;
  autoLabel?: boolean;
}

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