@lobehub/charts
Version:
React modern charts components built on recharts
15 lines (14 loc) • 485 B
TypeScript
import { HTMLAttributes } from 'react';
import { NoDataProps } from "./NoData";
import BaseAnimationTimingProps from './BaseAnimationTimingProps';
interface BaseSparkChartProps extends BaseAnimationTimingProps, HTMLAttributes<HTMLDivElement> {
autoMinValue?: boolean;
categories: string[];
colors?: string[];
data: any[];
index: string;
maxValue?: number;
minValue?: number;
noDataText?: NoDataProps['noDataText'];
}
export default BaseSparkChartProps;