import { IBaseGemoProps } from 'bizcharts/es/interface';
import { HTMLAttributes } from 'react';
import { BarData } from './BarData';

export type BarProps = {
  title: string;
  data: Array<BarData>;
  percent?: boolean;
  height?: nubmer;
}
  & Pick<HTMLAttributes<any>, 'className'>
  & Pick<IBaseGemoProps, 'color'>